summaryrefslogtreecommitdiffstats
path: root/remote/tools/policykit/policykit.build
diff options
context:
space:
mode:
Diffstat (limited to 'remote/tools/policykit/policykit.build')
-rw-r--r--remote/tools/policykit/policykit.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/remote/tools/policykit/policykit.build b/remote/tools/policykit/policykit.build
index 871025a1..a42f48b7 100644
--- a/remote/tools/policykit/policykit.build
+++ b/remote/tools/policykit/policykit.build
@@ -45,9 +45,7 @@ build () {
# prepare target dir & copy there
if [ -s "$COPYLIST" ]; then
pinfo "using tar to copy all dependencies to $BUILDDIR"
- tar -cpv $(cat $COPYLIST|sort -u) | tar -xpv -C $BUILDDIR
- local RET=$?
- [ $RET -ne 0 ] && perror "copy failed."
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR"
else
pinfo "no dependencies found!"
fi