summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-05-10 13:44:30 -0700
committerMichael Forney <mforney@mforney.org>2020-05-10 13:44:30 -0700
commit91fc847d0c9794c9ecc3043e970a4cc552b05ea9 (patch)
tree8198e180e6c2776316f84c37282eba237d5bba91
parent16893a6aa1b5ae5a07504cd2af9c3ee9cc9661fd (diff)
Fix extraction with pax
-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