From ce95ac5e04e8ffc5cfd390512f4c09ba589ba690 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 19 Jul 2019 10:39:34 +0100 Subject: [PATCH] Fix variable name in module build script --- scripts/build-native-modules.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-native-modules.sh b/scripts/build-native-modules.sh index 23230717..aec289b3 100755 --- a/scripts/build-native-modules.sh +++ b/scripts/build-native-modules.sh @@ -134,12 +134,12 @@ if ! [ -z ${iohook+x} ] || ! [ -z ${iohook_export+x} ]; then npm i || echo "Ignoring broken pre-build packages" rm -rf builds/* npm run build # This builds libuiohook - node build.js --runtime electron --version $electron_version --abi $abi --no-upload # Builds the module for the current OS/node version + node build.js --runtime electron --version $electron_version --abi $electron_abi --no-upload # Builds the module for the current OS/node version if [ -z ${iohook_export} ]; then # Install echo "Installing built package" - folder="electron-v$abi-$ostype-x$osarch" + folder="electron-v$electron_abi-$ostype-x$osarch" mkdir -p builds/$folder/build/Release cp build/Release/iohook.node builds/$folder/build/Release/ else