Allow to override build path with PKG_BUILD_PATH (#152)
To workaround a path problem with older Node versions and some Windows environments.
This commit is contained in:
parent
2c5d74bf04
commit
532fb10d91
@ -8,7 +8,7 @@ import { hostArch, hostPlatform } from './system';
|
||||
import { log } from './log';
|
||||
import patchesJson from '../patches/patches.json';
|
||||
|
||||
const buildPath = uniqueTempDir();
|
||||
const buildPath = path.resolve(process.env.PKG_BUILD_PATH || uniqueTempDir());
|
||||
const nodePath = path.join(buildPath, 'node');
|
||||
const patchesPath = path.resolve(__dirname, '../patches');
|
||||
const nodeRepo = 'https://github.com/nodejs/node';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user