You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by we...@apache.org on 2020/02/27 00:45:44 UTC
[incubator-apisix] branch master updated: bugfix: removed unwanted
quotes. (#1158)
This is an automated email from the ASF dual-hosted git repository.
wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 3176a07 bugfix: removed unwanted quotes. (#1158)
3176a07 is described below
commit 3176a0786201d7929199bc6e282f2358d46b8f18
Author: YuanSheng Wang <me...@gmail.com>
AuthorDate: Thu Feb 27 08:45:34 2020 +0800
bugfix: removed unwanted quotes. (#1158)
---
Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index f294efa..6083288 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ ifeq ("$(wildcard /usr/local/openresty-debug/bin/openresty)", "")
endif
endif
-LUTJIT_DIR ?= $(shell ${OR_EXEC} -V 2>&1 | grep prefix | grep -Eo 'prefix=(.*?)/nginx' | grep -Eo '/.*/')luajit
+LUAJIT_DIR ?= $(shell ${OR_EXEC} -V 2>&1 | grep prefix | grep -Eo 'prefix=(.*?)/nginx' | grep -Eo '/.*/')luajit
### help: Show Makefile rules.
.PHONY: help
@@ -48,11 +48,11 @@ help: default
.PHONY: deps
deps: default
ifeq ($(UNAME),Darwin)
- luarocks install --lua-dir=$(LUTJIT_DIR) rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
-else ifneq ($(LUAROCKS_VER),'luarocks 3.')
- luarocks install rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
+ luarocks install --lua-dir=$(LUAJIT_DIR) rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
+else ifeq ($(LUAROCKS_VER),luarocks 3.)
+ luarocks install --lua-dir=$(LUAJIT_DIR) rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
else
- luarocks install --lua-dir=/usr/local/openresty/luajit rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
+ luarocks install rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
endif