mtd/patches patchin.sh,1.15,1.16
David Woodhouse
dwmw2 at infradead.org
Fri Aug 29 10:25:51 EDT 2003
- Previous message: mtd/drivers/mtd/maps db1x00-flash.c,NONE,1.1 Config.in,1.53,1.54
Makefile.common,1.2,1.3 pb1xxx-flash.c,1.9,1.10
- Next message: mtd/fs/jffs2 wbuf.c,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/patches
In directory phoenix.infradead.org:/tmp/cvs-serv28634
Modified Files:
patchin.sh
Log Message:
Be helpful when invoked with no args
Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- patchin.sh 12 Jun 2003 09:22:45 -0000 1.15
+++ patchin.sh 29 Aug 2003 14:25:48 -0000 1.16
@@ -62,8 +62,8 @@
# Display usage of this script
usage () {
echo "usage: $0 [-c] [-j] kernelpath"
- echo "-c copy files to kernel tree instead of building links"
- echo "-j include jffs2 filesystem"
+ echo " -c -- copy files to kernel tree instead of building links"
+ echo " -j -- include jffs2 filesystem"
exit 1
}
@@ -105,6 +105,10 @@
done
shift `expr $OPTIND - 1`
LINUXDIR=$1
+
+if [ -z $LINUXDIR ]; then
+ usage;
+fi
# Check if kerneldir contains a Makefile
if [ ! -f $LINUXDIR/Makefile ]
- Previous message: mtd/drivers/mtd/maps db1x00-flash.c,NONE,1.1 Config.in,1.53,1.54
Makefile.common,1.2,1.3 pb1xxx-flash.c,1.9,1.10
- Next message: mtd/fs/jffs2 wbuf.c,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list