From d130c9b61493b27eb0405a6739160a2a2994df24 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 27 Nov 2019 23:38:51 +0000 Subject: [PATCH] Build Yggdrasil for each arch --- contrib/msi/build-msi.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/contrib/msi/build-msi.sh b/contrib/msi/build-msi.sh index eda682f1..285c07f3 100644 --- a/contrib/msi/build-msi.sh +++ b/contrib/msi/build-msi.sh @@ -29,13 +29,11 @@ then fi # Check the prerequisite files are in place -(test -f yggdrasil.exe && test -f yggdrasilctl.exe) || ( - [ "${PKGARCH}" == "x64" ] && GOARCH=amd64 CGO_ENABLED=0 ./build || \ - [ "${PKGARCH}" == "x86" ] && GOARCH=386 CGO_ENABLED=0 ./build || \ - ( - echo "failed to build Yggdrasil" - exit 1 - ) +[ "${PKGARCH}" == "x64" ] && GOARCH=amd64 CGO_ENABLED=0 ./build || \ +[ "${PKGARCH}" == "x86" ] && GOARCH=386 CGO_ENABLED=0 ./build || \ +( + echo "failed to build Yggdrasil" + exit 1 ) # Create the postinstall script