From ebc2ed548b42c44bfb086f3a295544cf7ece0149 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 4 Nov 2023 10:00:55 +1100 Subject: [PATCH] fix for loops --- koji-setup/koji-bootstrap-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koji-setup/koji-bootstrap-build.sh b/koji-setup/koji-bootstrap-build.sh index c057310..fdbddad 100755 --- a/koji-setup/koji-bootstrap-build.sh +++ b/koji-setup/koji-bootstrap-build.sh @@ -93,7 +93,7 @@ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-contribs sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build groups http://buildsys.koozali.org/build/10/smeserver-groups/\$arch/ sudo -u kojiadmin koji regen-repo dist-"$TAG"-build # setup the rest of the sme10 repos -for REPO in (contribs addons updates updates-testing testing) ; do +for REPO in contribs addons updates updates-testing testing ; do TAG="sme$RELEASE-$REPO" sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" sudo -u kojiadmin koji regen-repo dist-"$TAG"-build @@ -103,7 +103,7 @@ PKGMANAGER="dnf" BOOTSTRAPIMAGE="rocky:8" EL="8" CHROOTSETUPCMD=' install @buildsys-build @buildsys scl-utils-build python27-build ' -for RELEASE in (11 12) ; do +for RELEASE in 11 12 ; do # Setup the os repo - parent of others who will inherit most properties TAG="sme$RELEASE-os" sudo -u kojiadmin koji add-tag dist-"$TAG" @@ -128,7 +128,7 @@ for RELEASE in (11 12) ; do sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build rpmfusion http://download1.rpmfusion.org/free/el/updates/$EL/x86_64 sudo -u kojiadmin koji regen-repo dist-"$TAG"-build # setup the rest of the repos - for REPO in (contribs addons updates updates-testing testing) ; do + for REPO in contribs addons updates updates-testing testing ; do TAG="sme$RELEASE-$REPO" sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" sudo -u kojiadmin koji regen-repo dist-"$TAG"-build