Commit: 2841463a0e52e772a3bbb521fc7d7fcb77f91ab1
Parent: e3f7769d3e42a7c66f38b30dac31b3c979107977
Author: Michael Forney
Date: Wed, 4 Jun 2025 02:33:26 -0700
Local fetch scripts need pax, too
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ninja.lua b/ninja.lua
@@ -397,9 +397,9 @@ function fetch(method)
script = '$dir/fetch.sh'
else
script = '$basedir/scripts/fetch-'..method..'.sh'
- if method == 'curl' then
- table.insert(deps, '$builddir/pkg/arch/pax/host/pax')
- end
+ end
+ if method ~= 'git' then
+ table.insert(deps, '$builddir/pkg/arch/pax/host/pax')
end
build('fetch', '$dir/fetch', deps, {script=script})
if basedir ~= '.' then