summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Felder <c.felder@fz-juelich.de>2019-09-07 13:51:22 +0200
committerChristian Felder <c.felder@fz-juelich.de>2019-09-07 19:42:41 +0200
commit82025e7dbe0d01c587deb145cb9b2375fdaa5bc3 (patch)
treed9c57cbcf63743833f8656a536eee341be0464ed
parent30cbb0091515a7f802f0f3f3ee486be6ff98f645 (diff)
downloadpodman-82025e7dbe0d01c587deb145cb9b2375fdaa5bc3.tar.gz
podman-82025e7dbe0d01c587deb145cb9b2375fdaa5bc3.tar.bz2
podman-82025e7dbe0d01c587deb145cb9b2375fdaa5bc3.zip
Fixup Makefile for BSD systems, e.g. macOS
The bsd variant of `ln` does not support the ``-T`` option. Testing for existence using wildcard before creating new symlinks should be sufficient here. Furthermore the target directory is managed internally by this Makefile anyway. Signed-off-by: Christian Felder <c.felder@fz-juelich.de>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4f51adb67..e32f42631 100644
--- a/Makefile
+++ b/Makefile
@@ -136,8 +136,8 @@ help:
.gopathok:
ifeq ("$(wildcard $(GOPKGDIR))","")
mkdir -p "$(GOPKGBASEDIR)"
- ln -sfnT "$(CURDIR)" "$(GOPKGDIR)"
- ln -sfnT "$(CURDIR)/vendor/github.com/varlink" "$(FIRST_GOPATH)/src/github.com/varlink"
+ ln -sfn "$(CURDIR)" "$(GOPKGDIR)"
+ ln -sfn "$(CURDIR)/vendor/github.com/varlink" "$(FIRST_GOPATH)/src/github.com/varlink"
endif
touch $@