projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gconfig: remove show_debug option
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
scripts
/
patch-kernel
diff --git
a/scripts/patch-kernel
b/scripts/patch-kernel
index ece46ef0ba54e8f8ca48b008991f2aec217f0b1f..46a59cae3a0a6d52840483ab10212ef93fb6f3c3 100755
(executable)
--- a/
scripts/patch-kernel
+++ b/
scripts/patch-kernel
@@
-213,6
+213,7
@@
fi
if [ $stopvers != "default" ]; then
STOPSUBLEVEL=`echo $stopvers | cut -d. -f3`
STOPEXTRA=`echo $stopvers | cut -d. -f4`
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
#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=
do
CURRENTFULLVERSION="$VERSION.$PATCHLEVEL.$SUBLEVEL"
EXTRAVER=
- if [ $
stopvers
= $CURRENTFULLVERSION ]; then
+ if [ $
STOPFULLVERSION
= $CURRENTFULLVERSION ]; then
echo "Stopping at $CURRENTFULLVERSION base as requested."
break
fi
echo "Stopping at $CURRENTFULLVERSION base as requested."
break
fi