Commit e143cd12 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: forbid backport to Sisyphus

parent 2f917e23
...@@ -303,6 +303,7 @@ test -z "$LISTNAMES" && fatal "file not found in '$@'" ...@@ -303,6 +303,7 @@ test -z "$LISTNAMES" && fatal "file not found in '$@'"
if [ "$VENDOR" = "alt" ] ; then if [ "$VENDOR" = "alt" ] ; then
MDISTR=$MENV MDISTR=$MENV
test -z "$MDISTR" && fatal "Missed backport version (f.i. run with -M24 param for Master 2.4)" test -z "$MDISTR" && fatal "Missed backport version (f.i. run with -M24 param for Master 2.4)"
[ "$MDISTR" = "SS" ] && fatal "It is senseless to backport to Sisyphus. Run with -$CURRENTBRANCHNAME for example."
DISTRVERSION=$(get_altdistr_version $MDISTR) DISTRVERSION=$(get_altdistr_version $MDISTR)
else else
MDISTR=LOCAL MDISTR=LOCAL
......
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