PATCH: wineshelllink and --

Marcus Meissner marcus at jet.franken.de
Sun Sep 26 06:22:08 CDT 2004


Hi,

FrameMaker 7 refuses to start via Start Menu because it is started by:

Exec=wine "C:\\Program Files\\Adobe\\FrameMaker7.0\\FrameMaker.exe" --

and reports "unknown command line option --". Apparently wine no longer
filters the --.

Changelog:
	Remove -- from shell entries, since wine no longer appears to filter it.

Index: tools/wineshelllink
===================================================================
RCS file: /home/wine/wine/tools/wineshelllink,v
retrieving revision 1.16
diff -u -r1.16 wineshelllink
--- tools/wineshelllink	30 Sep 2003 00:28:13 -0000	1.16
+++ tools/wineshelllink	26 Sep 2004 11:14:22 -0000
@@ -84,7 +84,7 @@
 # KDE Config File
 [KDE Desktop Entry]
 Name=$xname
-Exec=wine '$path' -- $args
+Exec=wine '$path' $args
 Type=Application
 Comment=$descr
 EOF
@@ -98,7 +98,7 @@
     cat <<EOF
 [Desktop Entry]
 Name=$xname
-Exec=wine "$path" -- $args
+Exec=wine "$path" $args
 Type=Application
 Comment=$descr
 EOF
@@ -111,7 +111,7 @@
     base=`basename "$link"`
     section=`dirname "$link"`
     [ -z "$icon" ] || xicon="icon=\"$xpmicon\""
-    echo "?package(local.Wine):needs=x11 section=\"Wine/$section\" title=\"$base\" longtitle=\"$descr\" command=\"wine \\\"$path\\\" -- $args\" $xicon"
+    echo "?package(local.Wine):needs=x11 section=\"Wine/$section\" title=\"$base\" longtitle=\"$descr\" command=\"wine \\\"$path\\\" $args\" $xicon"
 }
 
 # copy the icon file to a specified dir and set xpmicon to the resulting path
-- 



More information about the wine-patches mailing list