diff options
author | Dmitri Goutnik <dmgk@FreeBSD.org> | 2021-02-20 23:30:33 +0000 |
---|---|---|
committer | Dmitri Goutnik <dmgk@FreeBSD.org> | 2021-02-20 23:30:33 +0000 |
commit | 4ca93fcde750e167a09b67f33f23cb3cc9a1615b (patch) | |
tree | dcc1528f5a94e0ec6fdda3e49167d49fae213a1c /Mk/Uses/go.mk | |
parent | sysutils/cpdup: update to v1.22, reset maintainer (diff) |
Mk/Uses/go.mk: Work around symlink creation issue in Poudriere
PR: 253713
Reported by: Dries Michiels <driesm.michiels@gmail.com>
Reviewed by: otis
Notes
Notes:
svn path=/head/; revision=566197
Diffstat (limited to 'Mk/Uses/go.mk')
-rw-r--r-- | Mk/Uses/go.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk index 99f26afcd42b..6bcdb78db68e 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -161,7 +161,7 @@ _INCLUDE_USES_GO_POST_MK= yes post-fetch: @${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; @(cd ${DISTDIR}/${DIST_SUBDIR}; \ - ${RLN} ${GO_MODFILE} go.mod; \ + [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \ ${SETENV} ${GO_ENV} ${GO_CMD} mod download -x) .endif |