diff options
author | badlop <badlop@process-one.net> | 2021-08-27 13:23:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 13:23:56 +0200 |
commit | d967103d89d70b0368a5a1d44bdf5c6385d7a9b6 (patch) | |
tree | 63a34f1f4a5d2c87f643330804992599ab1a5681 | |
parent | Add internal links in WebAdmin Vhosts page (diff) | |
parent | minor fix (diff) |
Merge pull request #3668 from longlene/master
rebar version get minor fix
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index c39195ac7..6549665f7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -99,12 +99,12 @@ ifneq ($(INSTALLGROUP),) endif ifeq "$(MIX)" "mix" -IS_REBAR:=6 +REBAR_VER:=6 else -IS_REBAR:=$(shell expr `$(REBAR) --version | awk -F '[ .]' '/rebar / {print $$2}'`) +REBAR_VER:=$(shell $(REBAR) --version | awk -F '[ .]' '/rebar / {print $$2}') endif -ifeq "$(IS_REBAR)" "6" +ifeq "$(REBAR_VER)" "6" REBAR=$(MIX) SKIPDEPS= LISTDEPS=deps.tree @@ -118,7 +118,7 @@ ifeq "$(IS_REBAR)" "6" REBARREL=MIX_ENV=prod $(REBAR) release --overwrite REBARDEV=MIX_ENV=dev $(REBAR) release --overwrite else -ifeq "$(IS_REBAR)" "3" +ifeq "$(REBAR_VER)" "3" SKIPDEPS= LISTDEPS=tree UPDATEDEPS=upgrade @@ -398,7 +398,7 @@ TAGS: Makefile: Makefile.in -ifeq "$(IS_REBAR)" "3" +ifeq "$(REBAR_VER)" "3" dialyzer: $(REBAR) dialyzer else |