diff --git a/tools/build-install-guides-rst.sh b/tools/build-install-guides-rst.sh index b8580a87e3..8bf4f0bc38 100755 --- a/tools/build-install-guides-rst.sh +++ b/tools/build-install-guides-rst.sh @@ -2,12 +2,11 @@ mkdir -p publish-docs -for distro in obs rdo ubuntu; do - TAG="${distro}_based" +for tag in obs rdo ubuntu; do GLOSSARY="" if [[ ! -e doc/common-rst/glossary.rst ]] ; then GLOSSARY="--glossary" fi tools/build-rst.sh doc/install-guide-rst \ - $GLOSSARY --tag $TAG --target "draft/install-guide-rst-${TAG}" + $GLOSSARY --tag ${tag} --target "draft/install-guide-rst-${tag}" done