summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 17:23:14 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 17:23:14 (EDT)
commitd071052bf12e87a3d88b8afcec5a3b73692f4645 (patch)
tree631a5fc06920b612bb78ee21dbecd514636305eb /src
parentdb775e408e259af7228b6b0f5b1eeddb87e60b46 (diff)
ob-buildopk: Use chown -h
This option is standardized in POSIX and has been supported in BusyBox since 2001-05-11 (commit 2b02ab9), so there's no need to check for it in configure.
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 -)