diff options
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 4e814740..7b877bc9 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
@@ -49,7 +49,7 @@ $(builddir)/config-$(LUA_VERSION).lua: config.unix | |||
49 | luarocks: config.unix $(builddir)/config-$(LUA_VERSION).lua | 49 | luarocks: config.unix $(builddir)/config-$(LUA_VERSION).lua |
50 | rm -f src/luarocks/core/hardcoded.lua | 50 | rm -f src/luarocks/core/hardcoded.lua |
51 | echo "#!/bin/sh" > luarocks | 51 | echo "#!/bin/sh" > luarocks |
52 | echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4" >> luarocks | 52 | echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4 LUA_CPATH LUA_CPATH_5_2 LUA_CPATH_5_3 LUA_CPATH_5_4" >> luarocks |
53 | echo 'LUAROCKS_SYSCONFDIR="$(luarocksconfdir)" LUA_PATH="$(CURDIR)/src/?.lua;;" exec "$(LUA)" "$(CURDIR)/src/bin/luarocks" --project-tree="$(CURDIR)/lua_modules" "$$@"' >> luarocks | 53 | echo 'LUAROCKS_SYSCONFDIR="$(luarocksconfdir)" LUA_PATH="$(CURDIR)/src/?.lua;;" exec "$(LUA)" "$(CURDIR)/src/bin/luarocks" --project-tree="$(CURDIR)/lua_modules" "$$@"' >> luarocks |
54 | chmod +rx ./luarocks | 54 | chmod +rx ./luarocks |
55 | ./luarocks init | 55 | ./luarocks init |
@@ -58,7 +58,7 @@ luarocks: config.unix $(builddir)/config-$(LUA_VERSION).lua | |||
58 | luarocks-admin: config.unix | 58 | luarocks-admin: config.unix |
59 | rm -f src/luarocks/core/hardcoded.lua | 59 | rm -f src/luarocks/core/hardcoded.lua |
60 | echo "#!/bin/sh" > luarocks-admin | 60 | echo "#!/bin/sh" > luarocks-admin |
61 | echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4" >> luarocks-admin | 61 | echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4 LUA_CPATH LUA_CPATH_5_2 LUA_CPATH_5_3 LUA_CPATH_5_4" >> luarocks-admin |
62 | echo 'LUAROCKS_SYSCONFDIR="$(luarocksconfdir)" LUA_PATH="$(CURDIR)/src/?.lua;;" exec "$(LUA)" "$(CURDIR)/src/bin/luarocks-admin" --project-tree="$(CURDIR)/lua_modules" "$$@"' >> luarocks-admin | 62 | echo 'LUAROCKS_SYSCONFDIR="$(luarocksconfdir)" LUA_PATH="$(CURDIR)/src/?.lua;;" exec "$(LUA)" "$(CURDIR)/src/bin/luarocks-admin" --project-tree="$(CURDIR)/lua_modules" "$$@"' >> luarocks-admin |
63 | chmod +rx ./luarocks-admin | 63 | chmod +rx ./luarocks-admin |
64 | 64 | ||