SOURCES: winetools-parse_version.patch (NEW) - rel.5 - added parse...
blues
blues at pld-linux.org
Thu Jan 4 16:36:43 CET 2007
Author: blues Date: Thu Jan 4 15:36:43 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- rel.5 - added parse_version patch to allow run on current wine; STBR to
AC and TH
---- Files affected:
SOURCES:
winetools-parse_version.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/winetools-parse_version.patch
diff -u /dev/null SOURCES/winetools-parse_version.patch:1.1
--- /dev/null Thu Jan 4 16:36:43 2007
+++ SOURCES/winetools-parse_version.patch Thu Jan 4 16:36:38 2007
@@ -0,0 +1,18 @@
+--- ./findwine.org 2007-01-04 16:20:03.000000000 +0100
++++ ./findwine 2007-01-04 16:30:07.000000000 +0100
+@@ -102,13 +102,13 @@
+ mkdir /tmp/wine-$$
+ touch /tmp/wine-$$/.no_debug_window_flag
+ touch /tmp/wine-$$/.no_prelaunch_window_flag
+- WINEVER="`WINEPREFIX=/tmp/wine-$$ wine --version 2>&1 | grep "Wine [0-9]" | sed -e \"s/Wine //\"`"
++ WINEVER="`WINEPREFIX=/tmp/wine-$$ wine --version 2>&1 | grep -i "Wine.[0-9]" | sed -e \"s/^Wine.//i\"`"
+ rm -Rf /tmp/wine-$$
+ fi
+ else
+ # find out the Wine version if WINEVER is not set in environment
+ echo -n "`eval_gettext "detecting Wine version... "`"
+- [ "$WINEVER" = "" ] && WINEVER="`wine --version 2>&1 | grep "Wine [0-9]" | sed -e \"s/Wine //\"`"
++ [ "$WINEVER" = "" ] && WINEVER="`wine --version 2>&1 | grep -i "Wine.[0-9]" | sed -e \"s/^Wine.//i\"`"
+
+ echo "done."
+
================================================================
More information about the pld-cvs-commit
mailing list