diff --git a/koji-setup/install_koji_farm.sh b/koji-setup/install_koji_farm.sh index 3dfcc4c..b37ba3d 100644 --- a/koji-setup/install_koji_farm.sh +++ b/koji-setup/install_koji_farm.sh @@ -37,8 +37,8 @@ curl $SCRIPT_GIT/bootstrap-build.sh > $SCRIPT_DIR/bootstrap-build.sh # ask for required parameters (ssh settings and build server FQDN) KOJI_HUB_FQDN="$(hostname -f)" while true ; do - read -n 2 -p "Country Code (eg, US) " COUNTRY_CODE - if [ ${#COUNTRY_CODE} ne 2 ] ; then + read -p "Country Code (eg, US) " COUNTRY_CODE + if [ ${#COUNTRY_CODE} -ne 2 ] ; then echo "You must enter a 2 character country code" else break