test installer options

This commit is contained in:
Domen Kožar 2021-02-21 14:00:04 +00:00
parent 0598b739d8
commit 20d5bae58c
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
2 changed files with 19 additions and 1 deletions

View file

@ -28,7 +28,8 @@ installer_options=(
--nix-extra-conf-file /tmp/nix.conf
)
if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
installer_options=("${installer_options[@]}" "${INPUT_INSTALL_OPTIONS[@]}")
IFS=' ' read -r -a extra_installer_options <<< $INPUT_INSTALL_OPTIONS
installer_options=("${extra_installer_options[@]}" "${installer_options[@]}")
fi
echo "installer options: ${installer_options[@]}"