From d071052bf12e87a3d88b8afcec5a3b73692f4645 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 16 Jun 2019 17:23:14 -0400 Subject: 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. --- (limited to 'src') 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 -) -- cgit v0.9.1