mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
correct -ne
This commit is contained in:
parent
f1811bc44d
commit
b76ceadbc7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user