diff options
author | Karel Zak | 2012-01-19 13:15:03 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-19 13:15:03 +0100 |
commit | abbc7b4a14287746253d47218576410879839597 (patch) | |
tree | 9a1237c9f428e516889fd58d95e01fadbd8d41dc /tools/ko-release-gen | |
parent | build-sys: add ko-release-push script (diff) | |
download | kernel-qcow2-util-linux-abbc7b4a14287746253d47218576410879839597.tar.gz kernel-qcow2-util-linux-abbc7b4a14287746253d47218576410879839597.tar.xz kernel-qcow2-util-linux-abbc7b4a14287746253d47218576410879839597.zip |
build-sys: improve ko-release-* scripts
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tools/ko-release-gen')
-rwxr-xr-x | tools/ko-release-gen | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ko-release-gen b/tools/ko-release-gen index 46d140f95..b95af2ea9 100755 --- a/tools/ko-release-gen +++ b/tools/ko-release-gen @@ -49,6 +49,14 @@ function add_file { local sig=$(echo "$name" | sed 's/\.tar\.xz/.tar.sign/') xz -d -c $subdir/$name | $GPG_CMD --output $subdir/$sig ;; + *.tar.gz) + local sig=$(echo "$name" | sed 's/\.tar\.gz/.tar.sign/') + gzip -d -c $subdir/$name | $GPG_CMD --output $subdir/$sig + ;; + *.tar.bz2) + local sig=$(echo "$name" | sed 's/\.tar\.bz2/.tar.sign/') + bzip2 -d -c $subdir/$name | $GPG_CMD --output $subdir/$sig + ;; *) local sig="${name}.sign" cat $subdir/$name | $GPG_CMD --output $subdir/$sig |