NODE_ARCH -> YAAK_TARGET_ARCH

This commit is contained in:
Gregory Schier
2024-07-23 14:52:25 -07:00
parent 73e815d059
commit bf1ad208c5
3 changed files with 7 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ rmSync(dstDir, {recursive: true, force: true});
mkdirSync(dstDir, {recursive: true});
(async function () {
const key = `${process.platform}_${process.env.NODE_ARCH ?? process.arch}`;
const key = `${process.platform}_${process.env.YAKK_TARGET_ARCH ?? process.arch}`;
console.log('Vendoring NodeJS binary for', key);
const url = URL_MAP[key];
const tmpDir = path.join(__dirname, 'tmp', new Date().toISOString());

View File

@@ -36,7 +36,7 @@ rmSync(dstDir, {recursive: true, force: true});
mkdirSync(dstDir, {recursive: true});
(async function () {
const key = `${process.platform}_${process.env.NODE_ARCH ?? process.arch}`;
const key = `${process.platform}_${process.env.YAAK_TARGET_ARCH ?? process.arch}`;
const url = URL_MAP[key];
const tmpDir = path.join(__dirname, 'tmp', new Date().toISOString());