|
From: <smi...@us...> - 2004-01-11 14:43:07
|
Update of /cvsroot/devil-linux/build
In directory sc8-pr-cvs1:/tmp/cvs-serv16846
Modified Files:
CHANGES replace
Log Message:
- some build system cleanups
- added perliminary support to the build system for selection of Kernel 2.4
or 2.6
Index: CHANGES
===================================================================
RCS file: /cvsroot/devil-linux/build/CHANGES,v
retrieving revision 1.640
retrieving revision 1.641
diff -u -d -r1.640 -r1.641
--- CHANGES 9 Jan 2004 02:35:08 -0000 1.640
+++ CHANGES 11 Jan 2004 14:43:03 -0000 1.641
@@ -22,6 +22,8 @@
#
1.1.2
+- some build system cleanups
+- added perliminary support to the build system for selection of Kernel 2.4 or 2.6
- fixed named start problem when jail disabled (fl)
- updated hostap to v0.1.2 (Heiko / Emmanuel Escarabajal)
- added mtr v0.54 (Heiko / Emmanuel Escarabajal)
Index: replace
===================================================================
RCS file: /cvsroot/devil-linux/build/replace,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- replace 20 Aug 2003 20:02:47 -0000 1.1
+++ replace 11 Jan 2004 14:43:04 -0000 1.2
@@ -1,16 +1,18 @@
#!/bin/bash
-SEARCH="\$CDDIR/usr/share/doc"
+SEARCH="source \$MYDIR/functions"
REPLACE="\$DOCDIR"
-echo "press any key to replace '$SEARCH' with '$REPLACE'"
+#echo "press any key to replace '$SEARCH' with '$REPLACE'"
+echo "press any key to remove all lines with '$SEARCH'"
read -n 1 -rs ANS
for FILE in $(grep -l "$SEARCH" scripts/*)
do
echo $FILE
cp $FILE $FILE.old
- sed -e s%"$SEARCH"%"$REPLACE"% $FILE.old > $FILE
+ #sed -e s%"$SEARCH"%"$REPLACE"% $FILE.old > $FILE
+ grep -v "$SEARCH" $FILE.old > $FILE
rm $FILE.old
done
|