bootdisk: installer-functions (HEAD)

misiek misiek w pld.org.pl
Pon, 24 Mar 2003, 14:46:15 CET


Module name:	bootdisk
Changes by:	misiek	03/03/24 14:46:12

Modified files:
	installer-functions

Log message:
- fix count_cpus()

Index: installer-functions
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/installer-functions,v
diff -d -u -r1.53 -r1.54
--- installer-functions	23 Aug 2002 12:44:48 -0000	1.53
+++ installer-functions	24 Mar 2003 13:46:12 -0000	1.54
@@ -553,7 +553,7 @@
     echo $pkgs_cpus
   else
     # uh... there is no wc on bootdisk
-    echo $(grep '^processor[ 	]*:' /proc/cpuinfo | (
+    echo $(grep -E '^processor[[:space:]]*:' /proc/cpuinfo | (
       count=0
       while read LINE ; do
         count=$(($count+1))



Więcej informacji o liście dyskusyjnej pld-installer