]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Again jratecalc (Cho-Time GmbH -specific project) needs to be separted out from ...
authorRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 18:12:10 +0000 (20:12 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 18:15:04 +0000 (20:15 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
pull-stick.sh

index bca96943000365aec93aa476fb188e2b134ebbba..3dc73ede6f77a919068729e3d2d4df8897f5e39f 100755 (executable)
@@ -6,7 +6,7 @@ for project in ${LIST}; do
        if [ ! -d "${JPROJECTS_HOME}/${project}" ]
        then
                echo "$0: Project '${project}' does not exist."
-               continue;
+               continue
        fi
 
        cd "${JPROJECTS_HOME}/${project}" || exit 255
@@ -17,8 +17,16 @@ for project in ${LIST}; do
                git checkout -- .
        fi
 
+       SKIP_TEST="${project:0:9}"
+
        echo "$0: Pulling '${project}' ..."
-       git pull transport master || exit 255
+       if [ "${SKIP_TEST}" = "jratecalc" ]
+       then
+               git pull --all || exit 255
+       else
+               git pull transport master || exit 255
+       fi
+
        echo "$0: Rebasing '${project}' ..."
        git rebase origin/master || exit 255
 done