aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-05 15:32:36 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-05 15:32:36 +0000
commitd7f189b504b11c4e0cdd60d2d6e153fcacdd28a2 (patch)
tree90a0a52449566c12b0da51b83728e38b627dddb8 /Mk
parentd5f1652d5d4b6f9d92993917fd94bbbf20bafb7d (diff)
It seems sometime, GH_SUBDIR is only medium rare, on the other hand,
GH_SUBDIR_DEFAULT always is fully baked. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=427902
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sites.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 2aedd6201954..cba11fef613a 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -554,9 +554,9 @@ DISTFILES+= ${DISTNAME}${_GITHUB_EXTRACT_SUFX}
. if !empty(GH_SUBDIR)
_SITES_extract:= 690:post-extract-gh-DEFAULT
post-extract-gh-DEFAULT:
- @${RMDIR} ${WRKSRC}/${GH_SUBDIR} 2>/dev/null || :
- @${MKDIR} ${WRKSRC}/${GH_SUBDIR:H} 2>/dev/null || :
- @${LN} -s ${GH_SUBDIR:C/[^\/]//g:C/\//..\//g} ${WRKSRC}/${GH_SUBDIR}
+ @${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}
. endif
# If there are non default groups
. if !empty(_GITHUB_GROUPS:NDEFAULT)