diff options
-rw-r--r-- | abuild-sign.in | 2 | ||||
-rw-r--r-- | abuild.in | 4 |
2 files changed, 3 insertions, 3 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" @@ -1375,7 +1375,7 @@ create_apks() { touch .dummy set -- .dummy fi - tar --xattrs -c "$@" | abuild-tar --hash | gzip -9 >"$dir"/data.tar.gz + tar --xattrs -f - -c "$@" | abuild-tar --hash | gzip -9 >"$dir"/data.tar.gz msg "Create checksum..." # append the hash for data.tar.gz @@ -1384,7 +1384,7 @@ create_apks() { # control.tar.gz cd "$dir" - tar -c $(cat "$dir"/.metafiles) | abuild-tar --cut \ + tar -f - -c $(cat "$dir"/.metafiles) | abuild-tar --cut \ | gzip -9 > control.tar.gz abuild-sign -q control.tar.gz || exit 1 |