diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2019-07-13 17:10:34 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-07-13 17:10:34 -0300 |
commit | 4b1fd9da9068398e633d95375736956ebd5d8128 (patch) | |
tree | 05f7ab1f001827ce3f0b3f763b351319d2398025 | |
parent | ec78ef6b0f4dc866a803b4e6d23ad16db12934d6 (diff) | |
download | luarocks-4b1fd9da9068398e633d95375736956ebd5d8128.tar.gz luarocks-4b1fd9da9068398e633d95375736956ebd5d8128.tar.bz2 luarocks-4b1fd9da9068398e633d95375736956ebd5d8128.zip |
GNUmakefile: unset CPATH variables in local wrapper too
-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 | ||