diff options
author | Laura Abbott <labbott@redhat.com> | 2019-01-08 15:20:17 -0800 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2019-01-08 15:20:17 -0800 |
commit | 2971bf5fd8057413b2fe0cdd76e154e0dde9be86 (patch) | |
tree | b19dbe35502d6991971070b26d1518711bf6122d /scripts | |
parent | b3cedc3d7b996d72398ef4b4518473ee396b31c5 (diff) | |
download | kernel-2971bf5fd8057413b2fe0cdd76e154e0dde9be86.tar.gz kernel-2971bf5fd8057413b2fe0cdd76e154e0dde9be86.tar.xz kernel-2971bf5fd8057413b2fe0cdd76e154e0dde9be86.zip |
Fix this one too
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kernel-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-version.sh b/scripts/kernel-version.sh index e2ec93a5a..0de4c10d9 100644 --- a/scripts/kernel-version.sh +++ b/scripts/kernel-version.sh @@ -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 |