diff --git a/Makefile.am b/Makefile.am index 82c124db..75b676d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,9 +88,9 @@ test: GOPATH=$(GOPATH) $(GO) test -v $(GOTESTFLAGS) app/... ./go/... dist_gopath: $(DIST_SRC) - find $(SYSTEM_GOPATH) -mindepth 1 -maxdepth 1 -type d \ - -exec ln -sf {} $(DIST_SRC) \; - + [ -d $(SYSTEM_GOPATH) ] && \ + find $(SYSTEM_GOPATH) -mindepth 1 -maxdepth 1 -type d \ + -exec ln -sf {} $(DIST_SRC) \; assets: javascript fonts