mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
pgit.sh: Error out in more for-projects loops on error
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4c6aea9c99
commit
6b1efdafa3
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ run()
|
|||
config
|
||||
cd $pdir
|
||||
|
||||
set -e
|
||||
for d in $pdirs; do
|
||||
marker $d
|
||||
git -C $d $cmd "$@"
|
||||
|
|
@ -59,6 +60,7 @@ clone()
|
|||
projects=`$SSH git.jannet.de /opt/ytools/bin/git-srv-admin.sh -u $id -j list-personal-projects`
|
||||
[ "$?" != 0 ] && exit 1
|
||||
fi
|
||||
set -e
|
||||
for p in $projects; do
|
||||
[ -d $p ] && {
|
||||
marker "skipping existing $p"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue