diff options
author | Laura Abbott <labbott@redhat.com> | 2019-01-08 15:14:13 -0800 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2019-01-08 15:14:13 -0800 |
commit | b3cedc3d7b996d72398ef4b4518473ee396b31c5 (patch) | |
tree | babd878d4fa705822bc05b10e224ab97c32181b0 /scripts | |
parent | 8e8de459e7ba7b89043686df7deea554dd7eecb9 (diff) | |
download | kernel-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-x | scripts/generate-git-snapshot.sh | 2 |
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\ //) |