From c6ca267cfdc4648bd36c9044fa676ccf58953754 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 4 Sep 2023 21:42:42 +1000 Subject: [PATCH] -eq vs eq --- 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 4b0066d..6679b53 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 -eq $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