Fix this one too

This commit is contained in:
Laura Abbott 2019-01-08 15:20:17 -08:00
parent b3cedc3d7b
commit 2971bf5fd8
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ VER=$(grep patch sources | head -n1 | awk '{ print $2 }' | sed s/patch-// | sed
if [ -z "$VER" ] ;
then
VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.xz// | tr -d "()")
VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.gz// | tr -d "()")
fi