summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-18 12:23:07 +0200
committerGitHub <noreply@github.com>2019-07-18 12:23:07 +0200
commit456c045ddb39ade0c2a537e25f91e08745325508 (patch)
tree2a774fa6eb3e679edee50ae960f889cd96ad2757
parent7488ed6d9a619d86333dc1880d4df034fbb371b9 (diff)
parent2be57e13869ecfe248fb87abad762eaa24a10a47 (diff)
downloadpodman-456c045ddb39ade0c2a537e25f91e08745325508.tar.gz
podman-456c045ddb39ade0c2a537e25f91e08745325508.tar.bz2
podman-456c045ddb39ade0c2a537e25f91e08745325508.zip
Merge pull request #3591 from llchan/makefile-symlink-tweak
Tweak GOPATH-related symlinking
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3c7f9d74b..e155d31d4 100644
--- a/Makefile
+++ b/Makefile
@@ -127,8 +127,8 @@ help:
.gopathok:
ifeq ("$(wildcard $(GOPKGDIR))","")
mkdir -p "$(GOPKGBASEDIR)"
- ln -sf "$(CURDIR)" "$(GOPKGBASEDIR)"
- ln -sf "$(CURDIR)/vendor/github.com/varlink" "$(FIRST_GOPATH)/src/github.com/varlink"
+ ln -sfnT "$(CURDIR)" "$(GOPKGDIR)"
+ ln -sfnT "$(CURDIR)/vendor/github.com/varlink" "$(FIRST_GOPATH)/src/github.com/varlink"
endif
touch $@