Update of /cvsroot/devil-linux/build/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32493
Modified Files:
build.sh
Log Message:
more reliable
Index: build.sh
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/build.sh,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- build.sh 8 Feb 2015 21:41:43 -0000 1.116
+++ build.sh 8 Feb 2015 22:13:45 -0000 1.117
@@ -17,11 +17,11 @@
source $DL_DIR/scripts/settings
# make sure all the needed mounts are done
-mount | grep "/proc" > /dev/null || mount -t proc none /proc
-mount | grep "/sys" > /dev/null || mount -t sysfs none /sys
+mount -t proc none /proc
+mount -t sysfs none /sys
mkdir -p /dev/shm
chmod 1777 /dev/shm
-mount | grep "/dev/shm" > /dev/null || mount -t tmpfs none /dev/shm
+cat /proc/mounts | grep "/dev/shm" > /dev/null || mount -t tmpfs none /dev/shm
# make sure /tmp has the correct rights
chmod 1777 /tmp
|