logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 10bc5417a161be983f33a4cc6ffdf2a4c2800644
parent 68c3f0412b52d71dccde1e027fc042e3593ec5be
Author: Michael Forney <mforney@mforney.org>
Date:   Sat,  1 Feb 2020 00:32:22 -0800

Fix fetch rules when $basedir != .

Diffstat:

Mrules.ninja6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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