commit:     80dd3758530e67117c8eb5828169fde2445c4333
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  6 12:15:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  6 12:15:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80dd3758

dev-scheme/slib: fix syntax issue

For some reason, bash-5.3_alpha_p20240904 doesn't complain with `bash -n`
for me but this showed up in the pkgcore CI when running pmaint regen,
as pointed out by arthurzam.

Thanks to ulm for noticing the syntax error.

Fixes: be9c7e95d5255d8e8b0dfc2350a5666ddd3d67d9
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/slib/slib-3.3.1-r100.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/slib/slib-3.3.1-r100.ebuild 
b/dev-scheme/slib/slib-3.3.1-r100.ebuild
index b1b5e37bde1a..bb816cbbac26 100644
--- a/dev-scheme/slib/slib-3.3.1-r100.ebuild
+++ b/dev-scheme/slib/slib-3.3.1-r100.ebuild
@@ -54,7 +54,7 @@ src_compile() {
 }
 
 _new_catalog() {
-       if [[ ${1} != @(guile|scm) ]] then
+       if [[ ${1} != @(guile|scm) ]] ; then
                echo -n "(load \"${ROOT}/usr/share/slib/${1}.init\")" || die
        fi
        echo " (require 'new-catalog) (slib:report-version)" || die

Reply via email to