diff options
| author | Michael Forney <mforney@mforney.org> | 2020-02-01 00:32:22 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-02-01 01:37:46 -0800 |
| commit | 10bc5417a161be983f33a4cc6ffdf2a4c2800644 (patch) | |
| tree | 92856438504afe69a8d1f2ebcae6410315ca094a | |
| parent | 68c3f0412b52d71dccde1e027fc042e3593ec5be (diff) | |
Fix fetch rules when $basedir != .
| -rw-r--r-- | rules.ninja | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.ninja b/rules.ninja index 21cb535d..a8f58d52 100644 --- a/rules.ninja +++ b/rules.ninja @@ -120,21 +120,21 @@ rule gitinit command = git init $repo_flags $repo && touch $out rule fetchcurl - command = cd $basedir && sh $basedir/scripts/fetch-curl.sh $gendir && touch $out + command = cd $basedir && sh scripts/fetch-curl.sh $gendir && touch $$OLDPWD/$out description = FETCH $gendir restat = 1 generator = 1 pool = console rule fetchgit - command = cd $basedir && sh $basedir/scripts/fetch-git.sh $gendir && touch $out + command = cd $basedir && sh scripts/fetch-git.sh $gendir && touch $$OLDPWD/$out description = FETCH $gendir restat = 1 generator = 1 pool = console rule fetchlocal - command = cd $basedir && sh $gendir/fetch.sh $gendir && touch $out + command = cd $basedir && sh $gendir/fetch.sh $gendir && touch $$OLDPWD/$out description = FETCH $gendir restat = 1 generator = 1 |
