mtd/patches patchin.sh,1.11,1.12

gleixner at infradead.org gleixner at infradead.org
Tue Mar 11 05:58:52 EST 2003


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

Modified Files:
	patchin.sh 
Log Message:
change directory when patching

Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- patchin.sh	8 Mar 2003 18:31:45 -0000	1.11
+++ patchin.sh	11 Mar 2003 10:58:49 -0000	1.12
@@ -75,11 +75,11 @@
 	FILES=`ls $PATCH_FILES 2>/dev/null`
 	for FILE in $FILES 
 	do
-		rm -f $LINUXDIR/$DIR/$FILE
+		rm -f $LINUXDIR/$DIR/$FILE 2>/dev/null
 		$LNCP $TOPDIR/$DIR/$FILE $LINUXDIR/$DIR
 	done
+	cd $LINUXDIR
 done	
-cd $LINUXDIR
 }
 
 





More information about the linux-mtd-cvs mailing list