Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 03:44:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233951] Tools/scripts/bump-revision.sh fails to handle PORTREVISIONs with a comment
Message-ID:  <bug-233951-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233951

            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@FreeBSD.org
          Reporter: gerald@FreeBSD.org
                CC: ports-bugs@FreeBSD.org, robak@freebsd.org

Found the following way:

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

Looking at multimedia/x264/Makefile
  PORTREVISION?=3D  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 ?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233951-7788>