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

13 lines
503 B
Diff
Raw Normal View History

2022-03-11 16:03:32 +01:00
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') ||
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
}