termux-packages/packages/nodejs/lib-os.js.patch

12 lines
404 B
Diff
Raw Normal View History

--- ./lib/os.js 2021-06-03 07:15:32.000000000 +0530
+++ ./lib/os.js.mod 2021-06-18 20:34:28.215642118 +0530
@@ -183,7 +183,7 @@
path = safeGetenv('TMPDIR') ||
safeGetenv('TMP') ||
safeGetenv('TEMP') ||
2015-06-13 01:03:31 +02:00
- '/tmp';
+ '@TERMUX_PREFIX@/tmp';
if (path.length > 1 && StringPrototypeEndsWith(path, '/'))
path = StringPrototypeSlice(path, 0, -1);
2015-06-13 01:03:31 +02:00
}