diff patch-ker.sh @ 205:f95fdc6123fb

Cleanup patch - Remove all trailing whitespace and fix a few typos.
author wookey
date Thu, 13 Dec 2007 15:35:19 +0000
parents 45fbb5342d69
children 6170df5875f3
line wrap: on
line diff
--- 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.
@@ -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/Ma
 
 # 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