Created attachment 172748 [details] patch the case $? needs to have the exit status of the grep, not the awk line, so remove the awk line, it was not really helpful anyway. Also, with slave ports, most of the time, they don't have (PORT|DIST)VERSION, try to use CATEGORIES, PKGNAMEPREFIX or PKGNAMESUFFIX.
A commit references this bug: Author: mat Date: Wed Aug 3 13:27:47 UTC 2016 New revision: 419519 URL: https://svnweb.freebsd.org/changeset/ports/419519 Log: fixup last updates, and try to be better with slave ports. the case $? needs to have the exit status of the grep, not the awk line, so remove the awk line, it was not really helpful anyway. Also, with slave ports, most of the time, they don't have (PORT|DIST)VERSION, try to use CATEGORIES, PKGNAMEPREFIX or PKGNAMESUFFIX. PR: 211243 Submitted by: mat Approved by: maintainer timeout Sponsored by: Absolight Changes: head/Tools/scripts/bump-revision.sh