From e9b76663cbb4e68f40e5f1bab0bafab3d5ed745f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 14 Apr 2019 01:42:01 -0400 Subject: feed_add_package(): Fix tar command --- 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' \ -- cgit v0.9.1