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

13 lines
431 B
Diff
Raw Normal View History

diff -u -r ../node-v10.9.0/lib/os.js ./lib/os.js
--- ../node-v10.9.0/lib/os.js 2018-08-15 13:53:34.000000000 +0000
+++ ./lib/os.js 2018-08-23 20:42:39.611186774 +0000
@@ -130,7 +130,7 @@
path = safeGetenv('TMPDIR') ||
safeGetenv('TMP') ||
safeGetenv('TEMP') ||
2015-06-13 01:03:31 +02:00
- '/tmp';
+ '@TERMUX_PREFIX@/tmp';
2016-04-04 11:05:43 +02:00
if (path.length > 1 && path.endsWith('/'))
path = path.slice(0, -1);
2015-06-13 01:03:31 +02:00
}