diff options
| author | Michael Forney <mforney@mforney.org> | 2025-06-04 02:33:26 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2025-06-04 02:33:30 -0700 |
| commit | a6dbef0e2d84fa57fb0757d0aa4c8c34b32bbddc (patch) | |
| tree | 9613be306519c64157588b66bde35f7d88cef898 | |
| parent | 6bf2b3275419479facb9dc37768d0d7b381d975f (diff) | |
| -rw-r--r-- | ninja.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
