Created
February 20, 2021 22:58
-
-
Save dmgk/b70f1ae9e849921deb49052b133eb195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: Mk/Uses/go.mk | |
=================================================================== | |
--- Mk/Uses/go.mk (revision 566192) | |
+++ Mk/Uses/go.mk (working copy) | |
@@ -161,7 +161,7 @@ | |
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment