diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-23 07:45:41 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-06-23 11:27:41 +0300 |
commit | 597a7f167b7429a5de665c666524aea5ffdaf97a (patch) | |
tree | 4732fa2e74286a0ef92ffa9d6bfca2218bf0165c /abuild-sign.in | |
parent | 9dd4a70eb3270fde7a653878d7367c707460c0b7 (diff) | |
download | abuild-597a7f167b7429a5de665c666524aea5ffdaf97a.tar.gz abuild-597a7f167b7429a5de665c666524aea5ffdaf97a.tar.bz2 abuild-597a7f167b7429a5de665c666524aea5ffdaf97a.tar.xz abuild-597a7f167b7429a5de665c666524aea5ffdaf97a.zip |
abuild: call tar portably
Diffstat (limited to 'abuild-sign.in')
-rw-r--r-- | abuild-sign.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild-sign.in b/abuild-sign.in index 99684d5..7b5b6db 100644 --- a/abuild-sign.in +++ b/abuild-sign.in @@ -31,7 +31,7 @@ do_sign() { sig=".SIGN.RSA.$keyname" openssl dgst -sha1 -sign "$privkey" -out "$sig" "$i" tmptargz=$(mktemp) - tar -c "$sig" | abuild-tar --cut | gzip -9 > "$tmptargz" + tar -f - -c "$sig" | abuild-tar --cut | gzip -9 > "$tmptargz" tmpsigned=$(mktemp) cat "$tmptargz" "$i" > "$tmpsigned" rm -f "$tmptargz" "$sig" |