mtd/patches patchin.sh,1.32,1.33

Artem Bityuckiy dedekind at infradead.org
Mon Dec 13 05:16:20 EST 2004


Update of /home/cvs/mtd/patches
In directory phoenix.infradead.org:/tmp/cvs-serv22002

Modified Files:
	patchin.sh 
Log Message:
Fix: -eq -> = on string comparison.


Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- patchin.sh	11 Dec 2004 17:16:11 -0000	1.32
+++ patchin.sh	13 Dec 2004 10:16:17 -0000	1.33
@@ -155,7 +155,7 @@
 		return 1;
 	fi;
 	
-	# remove older PATTERN-related entries from Kconfig
+	# remove older SUBSYS-related entries from Kconfig
 	local TMPFILE=$OUTFILE.$$;
 	if [ $LASTLINE -ne "0" ]; then
 		cat $OUTFILE | sed -n -e "$FIRSTLINE,$LASTLINE ! p" > $TMPFILE;
@@ -405,7 +405,7 @@
 # Check which header files we need depending on kernel version
 HDIR="include/linux"
 
-if test $JFFS3_FS -eq 'yes' && test $PATCHLEVEL -lt 6
+if test $JFFS3_FS = 'yes' && test $PATCHLEVEL -lt 6
 then
 	echo "JFFS3 works only with >= 2.6 kernels"
 	exit 1





More information about the linux-mtd-cvs mailing list