diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-03-29 13:11:18 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-03-29 13:11:18 +0000 |
commit | 74aa14f85c617d66c337d4db49480391ef4ab5e7 (patch) | |
tree | 80746b79b571280c682b47a0e18549e43388d549 /Mk/bsd.sites.mk | |
parent | www/py-rollbar: update to 0.13.11 (diff) |
Fix using GH_SUBDIR for the default distfile when the path had a single
directory.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=437195
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 079dd9235ac4..7ab7d76eed6f 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -542,7 +542,7 @@ _SITES_extract:= 690:post-extract-gh-DEFAULT post-extract-gh-DEFAULT: @${RMDIR} ${WRKSRC}/${GH_SUBDIR_DEFAULT} 2>/dev/null || : @${MKDIR} ${WRKSRC}/${GH_SUBDIR_DEFAULT:H} 2>/dev/null || : - @${LN} -s ${GH_SUBDIR_DEFAULT:C/[^\/]//g:C/\//..\//g} ${WRKSRC}/${GH_SUBDIR_DEFAULT} + @${LN} -s ${GH_SUBDIR_DEFAULT:C/[^\/]//g:C/\//..\//g:S/^$/./} ${WRKSRC}/${GH_SUBDIR_DEFAULT} . endif # If there are non default groups . if !empty(_GITHUB_GROUPS:NDEFAULT) |