diff --git a/koji-setup/koji-add-builder.sh b/koji-setup/koji-add-builder.sh index 6679b53..0c2a44d 100644 --- a/koji-setup/koji-add-builder.sh +++ b/koji-setup/koji-add-builder.sh @@ -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