diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-buildopk.sh | 8 |
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" \ |