Commit 23e8a88b authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: forbid run in old style branch (M60P) too

parent b801b538
...@@ -396,6 +396,10 @@ if [ "$PKGVENDOR" = "alt" ] && is_gear $SPECDIR ; then ...@@ -396,6 +396,10 @@ if [ "$PKGVENDOR" = "alt" ] && is_gear $SPECDIR ; then
fatal "Run rpmbph in sisyphus or master branch, not in backport branch $USEBRANCH" fatal "Run rpmbph in sisyphus or master branch, not in backport branch $USEBRANCH"
fi fi
if [ "$CURBRANCH" = "$OLDBRANCH" ] ; then
fatal "Run rpmbph in sisyphus or master branch, not in backport branch $OLDBRANCH"
fi
# Create branch if not exist yet # Create branch if not exist yet
if ! is_exist_branch $USEBRANCH ; then if ! is_exist_branch $USEBRANCH ; then
docmd git branch $USEBRANCH docmd git branch $USEBRANCH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment