summaryrefslogtreecommitdiff
path: root/patch-ker.sh
diff options
context:
space:
mode:
authorXiangfu Liu <xiangfu@sharism.cc>2011-12-28 14:48:19 +0800
committerXiangfu Liu <xiangfu@sharism.cc>2011-12-28 14:48:19 +0800
commitacb14471a54865f1d1a018b38bbd2c3cc7015701 (patch)
tree7155a79eae2a03bc3a3e4a0cd49b597f5dc4eb87 /patch-ker.sh
parent07a447def19f511fcd229886ec0ee88bf1fa884f (diff)
parent121c055437f23d9d6bc7b57d36ecf128b447013f (diff)
Merge branch 'upstream'
Diffstat (limited to 'patch-ker.sh')
-rwxr-xr-xpatch-ker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch-ker.sh b/patch-ker.sh
index 44152c8..ed54d53 100755
--- a/patch-ker.sh
+++ b/patch-ker.sh
@@ -92,7 +92,7 @@ PATCHLEVEL=`grep -s PATCHLEVEL <$LINUXDIR/Makefile | head -n 1 | sed s/'PATCHLEV
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 ]
+if [ $VERSION$PATCHLEVEL -lt 26 ]
then
echo "Cannot patch kernel version $VERSION.$PATCHLEVEL.$SUBLEVEL, must be 2.6.x or higher"
exit 1;