From a6dbef0e2d84fa57fb0757d0aa4c8c34b32bbddc Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 4 Jun 2025 02:33:26 -0700 Subject: [PATCH] Local fetch scripts need pax, too --- ninja.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ninja.lua b/ninja.lua index ca6822b3..d7488d19 100644 --- 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/pax/host/pax') - end + end + if method ~= 'git' then + table.insert(deps, '$builddir/pkg/pax/host/pax') end build('fetch', '$dir/fetch', deps, {script=script}) if basedir ~= '.' then