summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 01:11:17 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 01:11:17 (EDT)
commit5ab540bc36ef272b3d9096f204ebad61e6a5c51a (patch)
tree0a81f443c31a087c22615a33be457e52391214f2
parent674fa0989ff273f563ebf752cbbfe316e9210589 (diff)
ob-buildopk: Re-add directories to archives
-rw-r--r--src/ob-buildopk.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index 29e714d..859097a 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -48,10 +48,10 @@ build_opk()
# about to tar.
find "${binary}.control" "${binary}.data" | xargs chown -h 0:0
- (cd -- "${binary}.control" && find '.' \! -type d | LC_ALL=C sort | \
- tar -czf '../control.tar.gz' -T -)
- (cd -- "${binary}.data" && find '.' \! -type d | LC_ALL=C sort | \
- tar -czf '../data.tar.gz' -T -)
+ (cd -- "${binary}.control" && find '.' | LC_ALL=C sort | \
+ tar -czf '../control.tar.gz' --no-recursion -T -)
+ (cd -- "${binary}.data" && find '.' | LC_ALL=C sort | \
+ tar -czf '../data.tar.gz' --no-recursion -T -)
${TOUCH} -d "${date}" 'control.tar.gz' 'data.tar.gz'
tar -czf "../../${binary}_${version}_${arch}_${plat}.opk" \