summaryrefslogtreecommitdiffstats
path: root/src/index.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 01:42:01 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 01:42:01 (EDT)
commite9b76663cbb4e68f40e5f1bab0bafab3d5ed745f (patch)
tree7d193ff30c2fb0455081265ab0aa09e2238fb206 /src/index.sh
parentf3f4e20b6577085320967a20abeb728226d6cfad (diff)
feed_add_package(): Fix tar command
Diffstat (limited to 'src/index.sh')
-rw-r--r--src/index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.sh b/src/index.sh
index b37b895..7322798 100644
--- a/src/index.sh
+++ b/src/index.sh
@@ -63,7 +63,7 @@ feed_add_package()
feed_hash_idx="${base_dir}/feeds/${chan}/${dist}/${arch}/${plat}"
feed_hash_idx="${feed_hash_idx}/${sect}/.db/${pkg_hash}"
mkdir -p -- "${feed_hash_idx}/info"
- "${TAR}" -xzOf -- "${base_dir}/${file}" 'control.tar.gz' | \
+ "${TAR}" -xzOf "${base_dir}/${file}" 'control.tar.gz' | \
"${TAR}" -xzO './control' \
>"${feed_hash_idx}/info/${pkg}.control"
printf 'Filename: %s\nSize: %s\nMD5sum: %s\nSHA256sum: %s\n\n' \