wrong comparator

This commit is contained in:
Trevor Batley 2023-09-04 21:55:28 +10:00
parent 651995f9b4
commit 1096d55e98

View File

@ -66,7 +66,7 @@ sudo -u kojiadmin koji add-host-to-channel "$KOJI_BUILD_FQDN" createrepo
# A note on capacity
sudo -u kojiadmin koji edit-host --capacity="$KOJID_CAPACITY" "$KOJI_BUILD_FQDN"
# check if local install or remote
if [ $KOJI_BUILD_FQDN -eq $KOJI_HUB_FQDN ] ; then
if [[ $KOJI_BUILD_FQDN = $KOJI_HUB_FQDN ]] ; then
# deploy locally
echo "All-in-one: Hub will now be a build server as well"
if [ ! -f $SCRIPT_DIR/koji-deploy-builder.sh ] ; then