wineshelllink patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux