summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-23 07:45:41 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-06-23 11:27:41 +0300
commit597a7f167b7429a5de665c666524aea5ffdaf97a (patch)
tree4732fa2e74286a0ef92ffa9d6bfca2218bf0165c /abuild.in
parent9dd4a70eb3270fde7a653878d7367c707460c0b7 (diff)
downloadabuild-597a7f167b7429a5de665c666524aea5ffdaf97a.tar.bz2
abuild-597a7f167b7429a5de665c666524aea5ffdaf97a.tar.xz
abuild: call tar portably
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 09d70c7..9b40c35 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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