summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-01-08 15:14:13 -0800
committerLaura Abbott <labbott@redhat.com>2019-01-08 15:14:13 -0800
commitb3cedc3d7b996d72398ef4b4518473ee396b31c5 (patch)
treebabd878d4fa705822bc05b10e224ab97c32181b0 /scripts
parent8e8de459e7ba7b89043686df7deea554dd7eecb9 (diff)
downloadkernel-b3cedc3d7b996d72398ef4b4518473ee396b31c5.tar.gz
kernel-b3cedc3d7b996d72398ef4b4518473ee396b31c5.tar.xz
kernel-b3cedc3d7b996d72398ef4b4518473ee396b31c5.zip
Switch from xz -> gz
The 5.0-rc are currently using gz tarballs. Account for this.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-git-snapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-git-snapshot.sh b/scripts/generate-git-snapshot.sh
index 242200ef6..2ad6a5f06 100755
--- a/scripts/generate-git-snapshot.sh
+++ b/scripts/generate-git-snapshot.sh
@@ -20,7 +20,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// | sed s/[\(\)]//g)
+ VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.gz// | sed s/[\(\)]//g)
fi
OLDGIT=$(grep gitrev kernel.spec | head -n1 | sed s/%define\ gitrev\ //)