1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 00:57:08 +00:00
termux-packages/packages/nodejs/lib-os.js.patch
Fredrik Fornwall b1a9c9c562 nodejs: Just keep a single current package
Drop the LTS version of node.js for now and keep only a single current
node package.
2018-09-11 23:51:55 +02:00

13 lines
431 B
Diff

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') ||
- '/tmp';
+ '@TERMUX_PREFIX@/tmp';
if (path.length > 1 && path.endsWith('/'))
path = path.slice(0, -1);
}