fix ignore/exit when branch already exists

This commit is contained in:
clime 2017-03-31 11:32:05 +02:00
parent 7e519706f9
commit 886602ad82

View file

@ -103,8 +103,8 @@ for p in $PACKAGES ; do
fi
$(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 128)
echo "IGNORING: Package module $p already has a branch $BRANCH" >&2;
[ "$IGNORE" = "yes" ] && continue || exit 128
NEWP="$NEWP $p"
done
PACKAGES="$(echo $NEWP)"