[Bug 233951] Tools/scripts/bump-revision.sh fails to handle PORTREVISIONs with a comment

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 12 03:44:12 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233951

            Bug ID: 233951
           Summary: Tools/scripts/bump-revision.sh fails to handle
                    PORTREVISIONs with a comment
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: gerald at FreeBSD.org
                CC: ports-bugs at FreeBSD.org, robak at freebsd.org

Found the following way:

  # Tools/scripts/bump-revision.sh multimedia/x264
  ERROR: multimedia/x264 PORTREVISION value is not a number, unable to solve!

Looking at multimedia/x264/Makefile
  PORTREVISION?=  5 # 0 in libx264
it appears the problem is that there's "only" a space between the number
and the comment separator ('#'), where if it were a tab it'd just work.

Now we can update the port, and I plan on doing that, but it's probably
just a question of tweaking a regular expression in bump-revision.sh ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list