mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Fixing symlink test to not link if file exists
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user