install: fix env

This commit is contained in:
Koushik Dutta
2023-11-23 09:12:43 -08:00
parent 7875c51d62
commit 80a1a78a79
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "scrypted",
"version": "1.3.4",
"version": "1.3.5",
"description": "",
"main": "./dist/packages/cli/src/main.js",
"bin": {

View File

@@ -20,6 +20,7 @@ async function runCommand(command: string, ...args: string[]) {
const cp = child_process.spawn(command, args, {
stdio: 'inherit',
env: {
...process.env,
// https://github.com/lovell/sharp/blob/eefaa998725cf345227d94b40615e090495c6d09/lib/libvips.js#L115C19-L115C46
SHARP_IGNORE_GLOBAL_LIBVIPS: 'true',
},