wine2/wine-1.3.24-64bit-tools.patch
2012-09-06 10:30:57 +04:00

21 lines
758 B
Diff

diff -Naur tools.orig/wineapploader.in tools/wineapploader.in
--- tools.orig/wineapploader.in 2012-08-17 22:12:53.000000000 +0400
+++ tools/wineapploader.in 2012-08-27 12:49:37.979664330 +0400
@@ -26,7 +26,7 @@
if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi
# then default bin directory
-if [ -x "@bindir@/wine" ]; then exec "@bindir@/wine" "$appname" "$@"; fi
+if [ -x "@bindir@/wine" ]; then exec "@bindir@/wine64" "$appname" "$@"; fi
# now try the directory containing $0
appdir=""
@@ -46,7 +46,7 @@
done
;;
esac
-if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi
+if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi
# finally look in PATH
exec wine "$appname" "$@"