summaryrefslogtreecommitdiff
path: root/ninja.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-22 12:42:12 -0700
committerMichael Forney <mforney@mforney.org>2020-06-22 23:33:21 -0700
commitdbe1077c3f0b6d79f8ea5eefd97f98780246d0cf (patch)
treed74187da8c2457398c0b3d55a50f58dc4cbb6b4f /ninja.lua
parent5cbbb9e3773b329f13ea05b97be40a48d5f8d0d6 (diff)
Remove unnecessary fetch rules
Diffstat (limited to 'ninja.lua')
-rw-r--r--ninja.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ninja.lua b/ninja.lua
index 56340244..0c21b5be 100644
--- a/ninja.lua
+++ b/ninja.lua
@@ -397,7 +397,7 @@ function fetch(method)
else
script = '$basedir/scripts/fetch-'..method..'.sh'
end
- build('fetch-'..method, '$dir/fetch', {'|', '$dir/ver', script})
+ build('fetch', '$dir/fetch', {'|', '$dir/ver', script}, {script=script})
if basedir ~= '.' then
build('phony', '$gendir/fetch', '$dir/fetch')
end