From 1096d55e98dbf52e30075f0f8285b8894f2cfe49 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 4 Sep 2023 21:55:28 +1000 Subject: [PATCH] wrong comparator --- koji-setup/koji-add-builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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