]> git.ozlabs.org Git - next-scripts/commitdiff
setup_build: fetch from fs first as it is closer
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Jul 2017 23:25:25 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Jul 2017 23:25:25 +0000 (09:25 +1000)
setup_build

index 4921163cea94a8073f8c92e4db062f0cefdea2da..cafb0ebe6843f1f0feedfcfbd9a87c199593d9f2 100755 (executable)
@@ -15,7 +15,11 @@ $cmd /bin/sh <<EOF
        rm -rf *config perf *config.log perf.log lib *.except
        [ -d tmp ] || mkdir tmp
        [ -d .ccache ] || mkdir .ccache
-       ( cd linus.git; git remote update || true )
+       (
+               cd linus.git
+               git remote update fs || true
+               git remote update origin || true
+       )
        rm -rf "$bdir"
        git clone -s -l -c gc.auto=0 linus.git "$bdir"
        cp /dev/null log-ignore