From: Heiko Z. <smi...@us...> - 2004-09-18 17:47:11
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10229 Modified Files: dosfstools Log Message: use if statement, otherwise check for error is always true when kernel 2.6 is not used Index: dosfstools =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/dosfstools,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- dosfstools 10 Sep 2004 23:16:24 -0000 1.10 +++ dosfstools 18 Sep 2004 17:47:00 -0000 1.11 @@ -32,7 +32,9 @@ if [ "$CONFIG_DOSFSTOOLS" = "y" ]; then if [ ! -f dosfsutils-patches.done ]; then bzcat $DL_DIR/src/dosfstools-2.10-llseek.patch.bz2 | patch -p1 || exit 1 - test "$CONFIG_LINUX_VERSION" = "2.6" && bzcat $DL_DIR/src/dosfstools-2.10-kernel-2.6-1.patch.bz2 | patch -p1 || exit 1 + if [ "$CONFIG_LINUX_VERSION" = "2.6" ]; then + bzcat $DL_DIR/src/dosfstools-2.10-kernel-2.6-1.patch.bz2 | patch -p1 || exit 1 + fi touch dosfsutils-patches.done fi |