See the tracker bug. if [[ -z ${REPLACING_VERSIONS} ]] \ || [[ ${REPLACING_VERSIONS} < 0.34 ]]; then This does not account for RV having >1 value. Furthermore, < is lexicographical string comparison, so 100 < 34 ;-).
commit 7386f397410d6c8d4941d947e8a8ffaa81ac5511 (HEAD -> master, origin/master, origin/HEAD) Author: Nicholas Vinson <nvinson234@gmail.com> AuthorDate: Sat Jul 23 10:40:59 2016 -0700 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Thu Aug 11 08:34:57 2016 +0200 net-firewall/ufw: Properly handle cases where |RV| > 1. Properly handle cases where REPLACING_VERSIONS has more than 1 element. Gentoo-Bug: https://bugs.gentoo.org/589484 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/1946 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> net-firewall/ufw/ufw-0.35.ebuild | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) Commited, thanks!