Fixing symlink test to not link if file exists

master
Frederick F. Kautz IV 10 years ago
parent 7152712f34
commit 0646e7ae40
  1. 2
      Makefile

@ -7,7 +7,7 @@ checkdeps:
@./checkdeps.sh @./checkdeps.sh
createsymlink: 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 getdeps: checkdeps
@go get github.com/tools/godep && echo "Installed godep" @go get github.com/tools/godep && echo "Installed godep"

Loading…
Cancel
Save