export npm_config_target_arch instead of npm_config_arch on arm64

This commit is contained in:
JL2210
2018-11-05 10:32:51 -05:00
parent 31ad142664
commit 7b764d5c5b
2 changed files with 3 additions and 0 deletions

View File

@@ -6,10 +6,12 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$BUILDARCH" == "ia32" ]]; then
export npm_config_arch=ia32
export npm_config_target_arch=ia32
fi
if [[ "$BUILDARCH" == "arm64" ]]; then
export npm_config_arch=arm64
export npm_config_target_arch=arm64
fi
../update_settings.sh