This commit is contained in:
Neil Alexander 2019-11-28 00:16:36 +00:00
parent 1c5d232d35
commit fada1f5383
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -36,13 +36,8 @@ then
fi
# Check the prerequisite files are in place
(
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 ./build
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=0 ./build
) || (
echo "failed to build Yggdrasil"
exit 1
)
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 ./build
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=0 ./build
# Create the postinstall script
cat > config.bat << EOF