remove_build_requires
echo >&2 "Error: couldn't get out package name/version/release from spec file."
exit 6 ;;
- "err_tag_exists" )
+ "err_pkgrev_exists" )
remove_build_requires
- echo >&2 "Tag ${2} already exists"
+ echo >&2 "Error: package revision ${2} already exists"
exit 9 ;;
"err_fract_rel" )
remove_build_requires
rm $_tmp 2>/dev/null
[ "$(get_pkgrev "$_tag")" = "$CVSTAG" ] && return 0
echo "$result" | grep -q -E "^OK$" && return 0
- echo "$result" | grep -q -E "^EXISTS$" && Exit_error err_tag_exists "$_tag"
+ echo "$result" | grep -q -E "^EXISTS$" && Exit_error err_pkgrev_exists "$_tag"
Exit_error err_pkgrev_set
}