pgit.sh: Don't uncoditionally set -e

Base that on whether or not PGIT_KEEP_GOING is defined

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-12-12 16:53:27 +00:00
commit be98a4049c

View file

@ -118,7 +118,7 @@ clone()
[ "$?" != 0 ] && exit 1
fi
n_projects=`echo $projects | wc -w`
set -e
if [ "$PGIT_KEEP_GOING" != y ]; then set -e; fi
for p in $projects; do
cur=`expr $cur + 1`
local pullurl=ssh://$login@git.janware.com/srv/git/$fromuser/proj/$p