2016-09-26 15:21:21 +02:00
|
|
|
diff -u -r ../luarocks-2.4.0/src/luarocks/fs/lua.lua ./src/luarocks/fs/lua.lua
|
|
|
|
--- ../luarocks-2.4.0/src/luarocks/fs/lua.lua 2016-09-08 14:39:09.000000000 -0400
|
|
|
|
+++ ./src/luarocks/fs/lua.lua 2016-09-26 09:13:06.062435573 -0400
|
|
|
|
@@ -781,7 +781,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
assert(type(name) == "string")
|
|
|
|
name = dir.normalize(name)
|
|
|
|
|
2016-09-26 15:21:21 +02:00
|
|
|
- return posix.mkdtemp((os.getenv("TMPDIR") or "/tmp") .. "/luarocks_" .. name:gsub(dir.separator, "_") .. "-XXXXXX")
|
|
|
|
+ return posix.mkdtemp((os.getenv("TMPDIR") or "@TERMUX_PREFIX@/tmp") .. "/luarocks_" .. name:gsub(dir.separator, "_") .. "-XXXXXX")
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|