From bbc9de9c69cee6ed97376772b42becb56839f27a Mon Sep 17 00:00:00 2001 From: Erkki Lintunen Date: Wed, 6 Aug 2008 22:11:33 +0200 Subject: [PATCH] --- yaml --- r: 107793 b: refs/heads/master c: 0758416325dc75e203ab974aa5e937bef7d2afef h: refs/heads/master i: 107791: b29805b8b642c3962b1ff5b223c57b8c921f555c v: v3 --- [refs] | 2 +- trunk/scripts/patch-kernel | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0911492e1609..6ce051ce698a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7a48bdd01b5cab9c043b4d42a3f377624d6259f2 +refs/heads/master: 0758416325dc75e203ab974aa5e937bef7d2afef diff --git a/trunk/scripts/patch-kernel b/trunk/scripts/patch-kernel index ece46ef0ba54..46a59cae3a0a 100755 --- a/trunk/scripts/patch-kernel +++ b/trunk/scripts/patch-kernel @@ -213,6 +213,7 @@ fi if [ $stopvers != "default" ]; then STOPSUBLEVEL=`echo $stopvers | cut -d. -f3` STOPEXTRA=`echo $stopvers | cut -d. -f4` + STOPFULLVERSION=${stopvers%%.$STOPEXTRA} #echo "#___STOPSUBLEVEL=/$STOPSUBLEVEL/, STOPEXTRA=/$STOPEXTRA/" else STOPSUBLEVEL=9999 @@ -249,7 +250,7 @@ while : # incrementing SUBLEVEL (s in v.p.s) do CURRENTFULLVERSION="$VERSION.$PATCHLEVEL.$SUBLEVEL" EXTRAVER= - if [ $stopvers = $CURRENTFULLVERSION ]; then + if [ $STOPFULLVERSION = $CURRENTFULLVERSION ]; then echo "Stopping at $CURRENTFULLVERSION base as requested." break fi