diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-01-15 11:34:53 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-01-15 11:34:53 +0000 |
commit | 71b0938eb307046267f3fb0a4de016ecf8a580c4 (patch) | |
tree | ee4f3e79aa5067e7fd7a4c2c7edf12139c496c81 /Mk/bsd.sites.mk | |
parent | Update to v5.27.7-134-gd75174c. (diff) |
Fix a bug in USE_GITHUB code where a version with more than one / was
not sanitized properly.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=459033
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r-- | Mk/bsd.sites.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 407b045d53c7..96288ba5db72 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -429,7 +429,7 @@ GH_PROJECT:= ${GH_PROJECT_DEFAULT} GH_TAGNAME:= ${GH_TAGNAME_DEFAULT} GH_SUBDIR:= ${GH_SUBDIR_DEFAULT} . if defined(GH_TAGNAME) -GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,} +GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,g} # GitHub silently converts tags starting with v to not have v in the filename # and extraction directory. It also replaces + with -. GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g} |