wineshelllink patch

Ove Kaaven ovek at arcticnet.no
Sat Jan 12 17:26:49 CST 2002


Fix for Debian bug #128124.

Log:
Prepend "--" to arguments in wineshelllink.

--- wine-0.0.20011226.orig/tools/wineshelllink
+++ wine-0.0.20011226/tools/wineshelllink
@@ -69,7 +69,7 @@
 # KDE Config File
 [KDE Desktop Entry]
 Name=$xname
-Exec=wine "$path" $args
+Exec=wine "$path" -- $args
 Type=Application
 Comment=$descr
 EOF
@@ -83,7 +83,7 @@
     cat <<EOF
 [Desktop Entry]
 Name=$xname
-Exec=wine "$path" $args
+Exec=wine "$path" -- $args
 Type=Application
 Comment=$descr
 EOF
@@ -96,7 +96,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