diff options
author | mat <mat@FreeBSD.org> | 2016-06-02 15:29:01 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-06-02 15:29:01 +0800 |
commit | bbe52f2ea318b14c0eb4b3443a884fc7d00eece3 (patch) | |
tree | 8507f15454a23461714d7d0a957d3f4e40dc2a3c /Mk | |
parent | cc6c8de1ea01347be6c934920daf57217e5633a4 (diff) | |
download | freebsd-ports-gnome-bbe52f2ea318b14c0eb4b3443a884fc7d00eece3.tar.gz freebsd-ports-gnome-bbe52f2ea318b14c0eb4b3443a884fc7d00eece3.tar.zst freebsd-ports-gnome-bbe52f2ea318b14c0eb4b3443a884fc7d00eece3.zip |
Github silently replaces + with - in the tag when creating a tarball.
Reported by: antoine
Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.sites.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 443f1434eba5..c994f1c4b737 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -611,8 +611,8 @@ GH_TAGNAME:= ${GH_TAGNAME_DEFAULT} . if defined(GH_TAGNAME) GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,} # Github silently converts tags starting with v to not have v in the filename -# and extraction directory. -GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/} +# and extraction directory. It also replaces + with -. +GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g} . endif . if defined(_GITHUB_MUST_SET_DISTNAME) # GH_TAGNAME defaults to DISTVERSIONFULL; Avoid adding DISTVERSIONFULL in twice |