Summary: | Tools/scripts/bump-revision.sh: fixup last updates, and try to be better with slave ports | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mathieu Arnold <mat> | ||||
Component: | Ports Framework | Assignee: | Bartek Rutkowski <robak> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | ports-bugs, robak | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | Flags: | mat:
maintainer-feedback?
(robak) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
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 |
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.