aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/cfg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r--src/luarocks/cfg.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index a8475bfe..f68380f1 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -274,6 +274,8 @@ if detected.windows then
274 lib = { "?.dll", "lib?.dll" }, 274 lib = { "?.dll", "lib?.dll" },
275 include = { "?.h" } 275 include = { "?.h" }
276 } 276 }
277 defaults.export_path = "SET PATH=%s;%s"
278 defaults.export_path_separator = ";"
277 defaults.export_lua_path = "SET LUA_PATH=%s" 279 defaults.export_lua_path = "SET LUA_PATH=%s"
278 defaults.export_lua_cpath = "SET LUA_CPATH=%s" 280 defaults.export_lua_cpath = "SET LUA_CPATH=%s"
279 defaults.local_cache = home.."/cache/luarocks" 281 defaults.local_cache = home.."/cache/luarocks"
@@ -317,6 +319,8 @@ if detected.unix then
317 lib = { "lib?.so", "lib?.so.*" }, 319 lib = { "lib?.so", "lib?.so.*" },
318 include = { "?.h" } 320 include = { "?.h" }
319 } 321 }
322 defaults.export_path = "export PATH='%s:%s'"
323 defaults.export_path_separator = ":"
320 defaults.export_lua_path = "export LUA_PATH='%s'" 324 defaults.export_lua_path = "export LUA_PATH='%s'"
321 defaults.export_lua_cpath = "export LUA_CPATH='%s'" 325 defaults.export_lua_cpath = "export LUA_CPATH='%s'"
322 defaults.local_cache = home.."/.cache/luarocks" 326 defaults.local_cache = home.."/.cache/luarocks"