diff options
author | wookey <wookey> | 2007-12-13 15:35:17 +0000 |
---|---|---|
committer | wookey <wookey> | 2007-12-13 15:35:17 +0000 |
commit | a4d9ea92251deb3c1389e3e3443faf4341f817db (patch) | |
tree | 42b781a6d476469bdffb171d314474d6022fd361 /patch-ker.sh | |
parent | 443554816b244a3ca95741ef3380d3b045ee250c (diff) |
Cleanup patch - Remove all trailing whitespace and fix a few typos.
Diffstat (limited to 'patch-ker.sh')
-rwxr-xr-x | patch-ker.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patch-ker.sh b/patch-ker.sh index 6ffabec..04e6c2c 100755 --- a/patch-ker.sh +++ b/patch-ker.sh @@ -3,9 +3,9 @@ # YAFFS: Yet another FFS. A NAND-flash specific file system. # # Copyright (C) 2002-2006 Aleph One Ltd. -# +# # Created by Charles Manning <charles@aleph1.co.uk> -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. @@ -16,7 +16,7 @@ # # Somewhat "inspired by" the mtd patchin script # -# $Id: patch-ker.sh,v 1.3 2007-07-25 01:04:38 charles Exp $ +# $Id: patch-ker.sh,v 1.4 2007-12-13 15:35:17 wookey Exp $ VERSION=0 PATCHLEVEL=0 @@ -52,8 +52,8 @@ fi # Check if kerneldir contains a Makefile -if [ ! -f $LINUXDIR/Makefile ] -then +if [ ! -f $LINUXDIR/Makefile ] +then echo "Directory $LINUXDIR does not exist or is not a kernel source directory"; exit 1; fi @@ -65,7 +65,7 @@ SUBLEVEL=`grep -s SUBLEVEL <$LINUXDIR/Makefile | head -n 1 | sed s/'SUBLEVEL = ' # Can we handle this version? if [ $VERSION -ne 2 -o $PATCHLEVEL -lt 6 ] -then +then echo "Cannot patch kernel version $VERSION.$PATCHLEVEL.$SUBLEVEL, must be 2.6.x or higher" exit 1; fi |