mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 01:27:29 +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)
|
# ask for required parameters (ssh settings and build server FQDN)
|
||||||
KOJI_HUB_FQDN="$(hostname -f)"
|
KOJI_HUB_FQDN="$(hostname -f)"
|
||||||
while true ; do
|
while true ; do
|
||||||
read -n 2 -p "Country Code (eg, US) " COUNTRY_CODE
|
read -p "Country Code (eg, US) " COUNTRY_CODE
|
||||||
if [ ${#COUNTRY_CODE} ne 2 ] ; then
|
if [ ${#COUNTRY_CODE} -ne 2 ] ; then
|
||||||
echo "You must enter a 2 character country code"
|
echo "You must enter a 2 character country code"
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user