[patch] portability fix for wineinstall
dank at kegel.com
Mon Mar 1 23:47:42 CST 2004
wineinstall chokes a bit on redhat 6.2 because it uses
a nonstandard argument to test. This trivial patch should fix it.
Untested, but hey, it sure looks more posix standard to me.
--- wine-20031118/tools/wineinstall.old Mon Mar 1 21:45:31 2004
+++ wine-20031118/tools/wineinstall Mon Mar 1 21:45:47 2004
@@ -170,7 +170,7 @@
- if [ `whoami` == 'root' ]
+ if [ `whoami` = 'root' ]
echo "You are running wineinstall as root, this is not advisable. Please rerun as a user."
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
More information about the wine-patches