[wineinstall] allow to use our computer while installing

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

 



This patch executes the compilation process with a higher nice value.

It allows the user to do something else when he is installing Wine.

Jérôme
Index: tools/wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.60
diff -u -r1.60 wineinstall
--- tools/wineinstall	29 Sep 2003 20:25:47 -0000	1.60
+++ tools/wineinstall	7 Nov 2003 12:17:01 -0000
@@ -276,7 +276,7 @@
     if [ "$ROOTINSTALL" = "yes" ]
     then {
       # start out with the basic command
-      sucommand="make install"
+      sucommand="nice -1 make install"
 
       # if the user doesn't have $libdir in their ld.so.conf add this
       # to our sucommand string
@@ -304,9 +304,9 @@
     std_sleep
 
     # try to just make wine, if this fails 'make depend' and try to remake
-    if ! { make; }
+    if ! { nice -1 make; }
     then {
-      if ! { make depend && make; }
+      if ! { nice -1 make depend && nice -1 make; }
       then {
         echo
         echo "Compilation failed, aborting install."
@@ -620,7 +620,7 @@
   if [ "$BINDIST" = 'no' ]
   then {
     echo "Compiling regedit..."
-    (cd programs/regedit; make)
+    (cd programs/regedit; nice -1 make)
     echo
   }
   fi

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

  Powered by Linux