summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/extract.sh b/scripts/extract.sh
index 1ffc23f8..4a1ad044 100644
--- a/scripts/extract.sh
+++ b/scripts/extract.sh
@@ -11,7 +11,7 @@ esac
if command -v bsdtar >/dev/null; then
exec bsdtar -xf "$file" "$@"
elif command -v pax >/dev/null; then
- "$tool" -d -c "$file" | pax "$@"
+ "$tool" -d -c "$file" | pax -r "$@"
else
printf '%s: bsdtar or pax is required' "$0" >&2
exit 1