From 38d0eb124d1e4fa1bc15c0f72dd59d7803ca78a9 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 3 Jan 2017 22:49:57 -0800 Subject: fetch-curl: If not specified use */* as extraction pattern Some pax implementations will fail otherwise if src already exists. --- scripts/fetch-curl.rc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/fetch-curl.rc b/scripts/fetch-curl.rc index 08534598..26b26faa 100755 --- a/scripts/fetch-curl.rc +++ b/scripts/fetch-curl.rc @@ -33,6 +33,8 @@ for(archive in `{awk '{print $2}' sha256}) { pats=($pats $1) shift } + if(~ $#pats 0) + pats='*/*' shift if(! ~ $#tool 0) $tool $archive | pax -r -s '/^\.\|[^\/]*/src/' $pats } -- cgit v1.2.3