X-Git-Url: https://git.mxchange.org/?p=jprojects-scripts.git;a=blobdiff_plain;f=pull-stick.sh;h=1c20816f8ee1f2e16f7d4bca3c46a1df56d15437;hp=f8b783453032570727ac67a0c70c9782df56af1e;hb=128929dc32c790e0917b569d4dd7707b72dcdb6f;hpb=56abf09e2d59fe8abeaa691f529a19484489c93c diff --git a/pull-stick.sh b/pull-stick.sh index f8b7834..1c20816 100755 --- a/pull-stick.sh +++ b/pull-stick.sh @@ -24,7 +24,11 @@ for project in ${LIST}; do then git pull --all || exit 255 else - git pull transport master || exit 255 + git pull transport master + if [ "$?" != "0" ] + then + git pull --all || exit 255 + fi fi echo "$0: Rebasing '${project}' ..."