Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29031/scripts
Modified Files:
Tag: rel-1-2-patches
build.sh
Log Message:
make sure all scripts are executable, before we run insserv
Index: build.sh
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/build.sh,v
retrieving revision 1.79.2.4
retrieving revision 1.79.2.5
diff -u -d -r1.79.2.4 -r1.79.2.5
--- build.sh 22 Aug 2004 12:21:53 -0000 1.79.2.4
+++ build.sh 20 Jul 2005 18:00:57 -0000 1.79.2.5
@@ -189,6 +189,9 @@
pushd $DL_DIR/scripts/.buildorder/ &> /dev/null
ln -sf ../* ./
popd &> /dev/null
+
+ chmod +x $DL_DIR/scripts/*
+
${NICE} insserv -f -d $(grep -l "# DL-build-system v3" $DL_DIR/scripts/.buildorder/* | grep -v "build\.sh") || exit 1
#echo NOT creating links for:
#grep -L "# DL-build-system v3" $DL_DIR/scripts/.buildorder/* | grep -v "build\.sh" 2> /dev/null
|