aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-04-16 07:59:03 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-04-16 07:59:03 +0200
commit930a11c7fa5d70e2753a5a2d41efe6b01a1a2f2d (patch)
treeae3b32b30722b67cddc65f8811f403fdca10a575
parentc1abde44de20218368769740a0a36686e76f2ed9 (diff)
downloadrpm-package-builder-930a11c7fa5d70e2753a5a2d41efe6b01a1a2f2d.tar.gz
fix bash syntax
-rw-r--r--gitlab-ci-rpms-tito.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/gitlab-ci-rpms-tito.yml b/gitlab-ci-rpms-tito.yml
index f4fd822..17524a5 100644
--- a/gitlab-ci-rpms-tito.yml
+++ b/gitlab-ci-rpms-tito.yml
@@ -70,16 +70,16 @@ pages:
- >
for dir in rpms-*;
do
- distro="${dir#rpms-}"
- name="gitlab-${CI_PROJECT_NAME}-${distro}"
- repo="public/${name}.repo"
+ distro="${dir#rpms-}";
+ name="gitlab-${CI_PROJECT_NAME}-${distro}";
+ repo="public/${name}.repo";
mv -v $dir public/${distro};
- echo "[${name}]" > "$repo"
- echo "name=${name}" >> "$repo"
- echo "baseurl=${CI_PAGES_URL}/${distro}/" >> "$repo"
- echo "skip_if_unavailable=1" >> "$repo"
- echo "metadata_expire=10m" >> "$repo"
- echo "gpgcheck=0" >> "$repo"
+ echo "[${name}]" > "$repo";
+ echo "name=${name}" >> "$repo";
+ echo "baseurl=${CI_PAGES_URL}/${distro}/" >> "$repo";
+ echo "skip_if_unavailable=1" >> "$repo";
+ echo "metadata_expire=10m" >> "$repo";
+ echo "gpgcheck=0" >> "$repo";
done
- tree -T "$CI_PROJECT_NAME rpms" --charset utf8 -H . public > index.html
- mv index.html public