summaryrefslogtreecommitdiffstats
path: root/scripts/generate-git-snapshot.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2019-05-07 12:04:31 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2019-05-07 12:04:31 -0500
commit2b2a5f0a2eea3e62eb9b8f4cbd428db15607bd18 (patch)
treeec44a8b6f95cd76389f628c4d9dd32b44b76e44b /scripts/generate-git-snapshot.sh
parentda649d521577e9cadd6e0dcd6ff53664852c1fcd (diff)
downloadkernel-2b2a5f0a2eea3e62eb9b8f4cbd428db15607bd18.tar.gz
kernel-2b2a5f0a2eea3e62eb9b8f4cbd428db15607bd18.tar.xz
kernel-2b2a5f0a2eea3e62eb9b8f4cbd428db15607bd18.zip
Linux v5.1-1199-g71ae5fc87c34
Diffstat (limited to 'scripts/generate-git-snapshot.sh')
-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 2ad6a5f06..242200ef6 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.gz// | sed s/[\(\)]//g)
+ VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.xz// | sed s/[\(\)]//g)
fi
OLDGIT=$(grep gitrev kernel.spec | head -n1 | sed s/%define\ gitrev\ //)