commit 47c96de

Michael Forney  ·  2025-06-04 09:33:26 +0000 UTC
parent 9528942
Local fetch scripts need pax, too
1 files changed,  +3, -3
+3, -3
 1@@ -397,9 +397,9 @@ function fetch(method)
 2 		script = '$dir/fetch.sh'
 3 	else
 4 		script = '$basedir/scripts/fetch-'..method..'.sh'
 5-		if method == 'curl' then
 6-			table.insert(deps, '$builddir/pkg/pax/host/pax')
 7-		end
 8+	end
 9+	if method ~= 'git' then
10+		table.insert(deps, '$builddir/pkg/pax/host/pax')
11 	end
12 	build('fetch', '$dir/fetch', deps, {script=script})
13 	if basedir ~= '.' then