diff options
-rw-r--r-- | src/ob-buildopk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh index dc5dae4..a655ff9 100644 --- a/src/ob-buildopk.sh +++ b/src/ob-buildopk.sh @@ -35,9 +35,9 @@ build_opk() # This utility runs with (fake) privileges, so we can chown what we're # about to tar. find "${binary}.control" "${binary}.data" | xargs chown 0:0 - (cd -- "${binary}.control" && find '.' \! -type d | LC_ALL=C sort -r | \ + (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 -r | \ + (cd -- "${binary}.data" && find '.' \! -type d | LC_ALL=C sort | \ tar -czf '../data.tar.gz' -T -) touch -d "${date}" 'control.tar.gz' 'data.tar.gz' |