Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17202/scripts
Modified Files:
grsecurity
Log Message:
logical fix
Index: grsecurity
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/grsecurity,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- grsecurity 23 Mar 2004 00:24:12 -0000 1.17
+++ grsecurity 23 Mar 2004 13:08:53 -0000 1.18
@@ -32,9 +32,13 @@
if [ ! -f devil-linux-grsec-kernel-patches.done ]; then
touch devil-linux-grsec-kernel-patches.done
bzcat $DL_DIR/src/grsecurity*.patch.bz2 > grsecurity.patch || exit 1
- test ! "$CONFIG_VHZ" = "OFF" && bzcat $DL_DIR/src/grsecurity-kernel-vhz1.patch.bz2 |sed -e 's/^--- grsecurity.*/--- grsecurity.patch.old/g' -e 's/^+++ grsecurity.*/+++ grsecurity.patch/g' | patch -p0 || exit 1
+ if [ ! "$CONFIG_VHZ" = "OFF" ]; then
+ bzcat $DL_DIR/src/grsecurity-kernel-vhz1.patch.bz2 |sed -e 's/^--- grsecurity.*/--- grsecurity.patch.old/g' -e 's/^+++ grsecurity.*/+++ grsecurity.patch/g' | patch -p0 || exit 1
+ fi
cat grsecurity.patch | patch -p1 || exit 1
- test ! "$CONFIG_VHZ" = "OFF" && bzcat $DL_DIR/src/grsecurity-kernel-vhz2.patch.bz2 | patch -p0 || exit 1
+ if [ ! "$CONFIG_VHZ" = "OFF" ]; then
+ bzcat $DL_DIR/src/grsecurity-kernel-vhz2.patch.bz2 | patch -p0 || exit 1
+ fi
fi
# add configuration to kernel config
cat $MYDIR/config/config_grsecurity >> .config
|