return 128 if branch already exists in the mkbranch scripts

This commit is contained in:
clime 2017-03-31 11:22:00 +02:00
parent 08bdc1b048
commit 7e519706f9
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ for p in $PACKAGES ; do
$(GIT_DIR=$REPODIR/$p.git git rev-parse -q --verify \
$BRANCH >/dev/null) && \
(echo "IGNORING: Package module $p already has a branch $BRANCH" >&2; \
[ "$IGNORE" = "yes" ] && continue || exit -1)
[ "$IGNORE" = "yes" ] && continue || exit 128)
NEWP="$NEWP $p"
done
PACKAGES="$(echo $NEWP)"

View file

@ -104,7 +104,7 @@ for p in $PACKAGES ; do
$(GIT_DIR=$REPODIR/$p.git git rev-parse -q --verify \
$BRANCH >/dev/null) && \
(echo "IGNORING: Package module $p already has a branch $BRANCH" >&2; \
[ "$IGNORE" = "yes" ] && continue || exit -1)
[ "$IGNORE" = "yes" ] && continue || exit 128)
NEWP="$NEWP $p"
done
PACKAGES="$(echo $NEWP)"