termux-packages/packages/nodejs/lib-os.js.patch
2022-03-12 07:59:50 +00:00

13 lines
503 B
Diff

diff '--color=auto' -uNr node-v17.7.1.orig/lib/os.js node-v17.7.1/lib/os.js
--- node-v17.7.1.orig/lib/os.js 2022-03-11 20:20:44.907755316 +0530
+++ node-v17.7.1/lib/os.js 2022-03-11 20:25:04.067755217 +0530
@@ -183,7 +183,7 @@
path = safeGetenv('TMPDIR') ||
safeGetenv('TMP') ||
safeGetenv('TEMP') ||
- '/tmp';
+ '@TERMUX_PREFIX@/tmp';
if (path.length > 1 && StringPrototypeEndsWith(path, '/'))
path = StringPrototypeSlice(path, 0, -1);
}