diff options
| author | Michael Forney <mforney@mforney.org> | 2025-04-28 14:27:49 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2025-04-28 14:27:49 -0700 |
| commit | ea3cbbd89c92c107b719e121e2675d22a75585f7 (patch) | |
| tree | 9f0efbe533f704ce19c96c01ffc416a9d8e96218 /ninja.lua | |
| parent | 95cf1ad5e0a86b62260f6a5eb24cc9cf33d92d0a (diff) | |
Use our own pax for extracting archives
This reduces dependencies and variability in pax implementations.
Diffstat (limited to 'ninja.lua')
| -rw-r--r-- | ninja.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -392,12 +392,16 @@ end function fetch(method) local script + local deps = {'|', '$dir/ver', script} if method == 'local' then 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 - build('fetch', '$dir/fetch', {'|', '$dir/ver', script}, {script=script}) + build('fetch', '$dir/fetch', deps, {script=script}) if basedir ~= '.' then build('phony', '$gendir/fetch', '$dir/fetch') end |
