From 56187bbc7b45fce4e6dca9716cbed81141d9c01f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 19 Feb 2013 02:20:28 +0000 Subject: Get rid of silly "r" prefix on version number for FreeBSD packages, among other reasons so that we can have the same version numbers on FreeBSD and Ubuntu, doh. svn path=/branches/tk377/; revision=5042 --- buildtools/build-freebsd-rp-port.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools/build-freebsd-rp-port.py') diff --git a/buildtools/build-freebsd-rp-port.py b/buildtools/build-freebsd-rp-port.py index 59bce18e..bbb5ceb3 100644 --- a/buildtools/build-freebsd-rp-port.py +++ b/buildtools/build-freebsd-rp-port.py @@ -65,6 +65,8 @@ if branch != "trunk" and (branch[:2] != "tk" or not branch[2:].isdigit()): if not vers.isdigit() and (base != "rpki" or vers[0] != "r" or not vers[1:].isdigit()): vers = None +else: + vers = vers[1:] if None in (base, branch, vers): sys.exit("Unexpected tarball URL name format") -- cgit v1.2.3