Added support for 'origin' repository
[jprojects-scripts.git] / pull-stick.sh
index f8b7834..1c20816 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}' ..."