See the tracker bug. if [[ ${PV} != 9999 && $(get_version_component_range 2 ${REPLACING_VERSIONS}) != $(get_version_component_range 2 ${PV}) ]]; then This is going to fail hard when RV is empty or has >1 value.
Please feel free to fix.
No in tree version still uses REPLACING_VERSIONS.