From 7970de57caf8c5f475058ed69d6daffcd8deb7d3 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 17 Apr 2016 21:23:38 +0200 Subject: [PATCH] Exit on all failed pushs Signed-off-by: Roland Haeder --- push-stick.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/push-stick.sh b/push-stick.sh index 04321b4..2fe7e2b 100755 --- a/push-stick.sh +++ b/push-stick.sh @@ -34,13 +34,13 @@ for project in ${LIST}; do continue elif [ "$1" = "d" ] then - git push --all daedalus + git push --all daedalus || exit 255 elif [ "$1" = "t" ] then - git push --all transport + git push --all transport || exit 255 elif [ "$1" = "u" ] then - git push --all upstream + git push --all upstream || exit 255 fi cd "${JPROJECTS_HOME}" -- 2.39.5