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

13 lines
503 B
Diff
Raw Normal View History

2022-03-26 17:43:05 +01:00
diff '--color=auto' -uNr node-v17.8.0.orig/lib/os.js node-v17.8.0/lib/os.js
--- node-v17.8.0.orig/lib/os.js 2022-03-26 22:11:04.145459285 +0530
+++ node-v17.8.0/lib/os.js 2022-03-26 22:12:19.585459257 +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
}