From 0646e7ae40828c78469a67a2885bfdebe48f6038 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Tue, 3 Feb 2015 17:15:57 -0800 Subject: [PATCH] Fixing symlink test to not link if file exists --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed57c1fec..dc2efd584 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ checkdeps: @./checkdeps.sh createsymlink: - @if test ! -h $(GOPATH)/src/github.com/minio-io/minio; then echo "Creating symlink to $(GOPATH)/src/github.com/minio-io/minio" && ln -s $(PWD) $(GOPATH)/src/github.com/minio-io/minio; fi + @if test ! -e $(GOPATH)/src/github.com/minio-io/minio; then echo "Creating symlink to $(GOPATH)/src/github.com/minio-io/minio" && ln -s $(PWD) $(GOPATH)/src/github.com/minio-io/minio; fi getdeps: checkdeps @go get github.com/tools/godep && echo "Installed godep"