termux-packages/packages/nodejs-lts/lib-os.js.patch
2022-03-18 15:24:23 +00:00

13 lines
507 B
Diff

diff '--color=auto' -uNr node-v16.14.2.orig/lib/os.js node-v16.14.2/lib/os.js
--- node-v16.14.2.orig/lib/os.js 2022-03-18 15:06:23.831091188 +0530
+++ node-v16.14.2/lib/os.js 2022-03-18 15:08:46.251091133 +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);
}