summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-version.sh
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-03-04 07:13:09 -0800
committerLaura Abbott <labbott@redhat.com>2019-03-04 07:23:36 -0800
commit1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced (patch)
tree0c0bfcfbb1941561c5da9f1c7655db562d966b11 /scripts/kernel-version.sh
parentc5018505ed47ca3fed10d954d833775312dd1a98 (diff)
downloadkernel-1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced.tar.gz
kernel-1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced.tar.xz
kernel-1bde9dbcae119aa2a77d4aa36961f1aa0cde5ced.zip
Linux v5.0.0
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 0de4c10d9..e2ec93a5a 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.gz// | tr -d "()")
+ VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.xz// | tr -d "()")
fi