summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildopk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index 1bf53a2..29e714d 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -46,7 +46,7 @@ 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
+ 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 -)