]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Added support for 'origin' repository
authorRoland Haeder <rhaeder@cho-time.de>
Tue, 19 Apr 2016 06:54:20 +0000 (08:54 +0200)
committerRoland Haeder <rhaeder@cho-time.de>
Tue, 19 Apr 2016 06:54:20 +0000 (08:54 +0200)
Signed-off-by: Roland Haeder <rhaeder@cho-time.de>
pull-stick.sh

index f8b783453032570727ac67a0c70c9782df56af1e..1c20816f8ee1f2e16f7d4bca3c46a1df56d15437 100755 (executable)
@@ -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}' ..."