mirror of https://github.com/status-im/consul.git
Quote some make vars
This commit is contained in:
parent
04ea404414
commit
075f4b64ae
|
@ -52,13 +52,13 @@ DIST_BUILD?=1
|
||||||
DIST_SIGN?=1
|
DIST_SIGN?=1
|
||||||
|
|
||||||
ifdef DIST_VERSION
|
ifdef DIST_VERSION
|
||||||
DIST_VERSION_ARG=-v $(DIST_VERSION)
|
DIST_VERSION_ARG=-v "$(DIST_VERSION)"
|
||||||
else
|
else
|
||||||
DIST_VERSION_ARG=
|
DIST_VERSION_ARG=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef DIST_RELEASE_DATE
|
ifdef DIST_RELEASE_DATE
|
||||||
DIST_DATE_ARG=-d $(DIST_RELEASE_DATE)
|
DIST_DATE_ARG=-d "$(DIST_RELEASE_DATE)"
|
||||||
else
|
else
|
||||||
DIST_DATE_ARG=
|
DIST_DATE_ARG=
|
||||||
endif
|
endif
|
||||||
|
@ -117,10 +117,10 @@ linux:
|
||||||
|
|
||||||
# dist builds binaries for all platforms and packages them for distribution
|
# dist builds binaries for all platforms and packages them for distribution
|
||||||
dist:
|
dist:
|
||||||
@$(SHELL) $(CURDIR)/build-support/scripts/release.sh -t '$(DIST_TAG)' -b '$(DIST_BUILD)' -S '$(DIST_SIGN)' '$(DIST_VERSION_ARG)' '$(DIST_DATE_ARG)'
|
@$(SHELL) $(CURDIR)/build-support/scripts/release.sh -t '$(DIST_TAG)' -b '$(DIST_BUILD)' -S '$(DIST_SIGN)' $(DIST_VERSION_ARG) $(DIST_DATE_ARG)
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
@$(SHELL) $(CURDIR)/build-support/scripts/publish.sh '$(PUB_GIT_ARG)' '$(PUB_WEBSITE_ARG)'
|
@$(SHELL) $(CURDIR)/build-support/scripts/publish.sh $(PUB_GIT_ARG) $(PUB_WEBSITE_ARG)
|
||||||
|
|
||||||
dev-tree:
|
dev-tree:
|
||||||
@$(SHELL) $(CURDIR)/build-support/scripts/dev.sh
|
@$(SHELL) $(CURDIR)/build-support/scripts/dev.sh
|
||||||
|
|
Loading…
Reference in New Issue