Allow wineinstall to be run from tools/

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

 



Changelog:
Allow wineinstall to be run from tools/ or from the main Wine directory.

Vincent
Index: wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.41
diff -u -r1.41 wineinstall
--- wineinstall	23 Sep 2002 19:55:12 -0000	1.41
+++ wineinstall	12 Oct 2002 15:26:05 -0000
@@ -222,9 +222,16 @@
 
   if ! [ -f configure ]
   then {
-    echo "You're running this from the wrong directory."
-    echo "Change to the Wine source's main directory and try again."
-    exit 1
+    if [ -f ../configure ]
+    then {
+      pushd ..
+    }
+    else {
+      echo "You're running this from the wrong directory."
+      echo "Change to the Wine source's main directory and try again."
+      exit 1
+    }
+    fi
   }
   fi
 

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

  Powered by Linux