summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-version.sh
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-01-08 15:20:17 -0800
committerLaura Abbott <labbott@redhat.com>2019-01-08 15:20:17 -0800
commit2971bf5fd8057413b2fe0cdd76e154e0dde9be86 (patch)
treeb19dbe35502d6991971070b26d1518711bf6122d /scripts/kernel-version.sh
parentb3cedc3d7b996d72398ef4b4518473ee396b31c5 (diff)
downloadkernel-2971bf5fd8057413b2fe0cdd76e154e0dde9be86.tar.gz
kernel-2971bf5fd8057413b2fe0cdd76e154e0dde9be86.tar.xz
kernel-2971bf5fd8057413b2fe0cdd76e154e0dde9be86.zip
Fix this one too
Diffstat (limited to 'scripts/kernel-version.sh')
-rw-r--r--scripts/kernel-version.sh2
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