From 6d7edcb1308ee716c337df8c625382b322f7787c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Mich=C3=A1lek?= Date: Tue, 19 Jan 2021 13:34:32 +0100 Subject: [PATCH] tools: fix: ubounded variable in win installer build script --- tools/windows/tool_setup/build_installer.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/windows/tool_setup/build_installer.sh b/tools/windows/tool_setup/build_installer.sh index d5b9b0d33b..6c30f09785 100755 --- a/tools/windows/tool_setup/build_installer.sh +++ b/tools/windows/tool_setup/build_installer.sh @@ -10,10 +10,7 @@ set -e set -u -INSTALLER_TYPE="$1" -if [[ -z "$INSTALLER_TYPE" ]]; then - INSTALLER_TYPE="full" -fi +INSTALLER_TYPE="${1-full}" echo "Selected installer type: $INSTALLER_TYPE" echo "Available installer types: full, netinst"