summaryrefslogtreecommitdiff
path: root/scripts/fetch-curl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fetch-curl.sh')
-rw-r--r--scripts/fetch-curl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fetch-curl.sh b/scripts/fetch-curl.sh
index 86f7598e..4604a398 100644
--- a/scripts/fetch-curl.sh
+++ b/scripts/fetch-curl.sh
@@ -31,7 +31,7 @@ while read -r checksum archive ; do
tool=
esac
if [ -n "$tool" ] ; then
- "$tool" "$archive" | pax -r -s '/^\.\|[^\/]*/src/' '*/*'
+ "$tool" "$archive" | ${PAXREAD:-pax -r} -s ',^[^/]*,src,' '*/*'
fi
done <sha256