membphis commented on a change in pull request #3335:
URL: https://github.com/apache/apisix/pull/3335#discussion_r559962469
##########
File path: Makefile
##########
@@ -56,6 +57,9 @@ ifeq ($(LUAROCKS_VER),luarocks 3.)
else
luarocks install rockspec/apisix-master-0.rockspec --tree=deps
--only-deps --local
endif
+ifneq ($(LUA_VER),Lua 5.1)
+ sed -i '' -e "s|#!/usr/bin/env lua|#!/usr/bin/env
$(LUAJIT_DIR)/bin/luajit|g" ./bin/apisix
Review comment:
we can use a shell script to write the CLI, it'll to call `luajit
./bin/apisix`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]