...
 
Commits (2)
......@@ -98,7 +98,7 @@ cd $CWD/linux-stable
git checkout -f origin/$KERNBRANCH 1>/dev/null
# Get $VERSION, $PATCHLEVEL, $SUBLEVEL, $EXTRAVERSION and $NAME from kernel source Makefile
head -5 Makefile | sed -e 's/ *= */="/' -e 's/$/"/' > $TMP/versionvars
head -10 Makefile | grep -E '^VERSION|^PATCHLEVEL|^SUBLEVEL|^EXTRAVERSION|^NAME' | sed -e 's/ *= */="/' -e 's/$/"/' > $TMP/versionvars
. $TMP/versionvars
rm $TMP/versionvars
......
This diff is collapsed.
This diff is collapsed.