]> git.plutz.net Git - httpchat/commitdiff
fix syntax error m) master
authorPaul Hänsch <paul@plutz.net>
Wed, 6 Jan 2021 23:14:48 +0000 (00:14 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 6 Jan 2021 23:14:48 +0000 (00:14 +0100)
index.cgi

index a972204122a56047fd9dd91d2e71d6d724335ba6..23139976acc4fdd5dd0e135dd4421193dd1e5100 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -109,9 +109,9 @@ case ${LOCATION} in
        ]
        $(if [ "$CHANNEL_LIST" = on ]; then
          printf '[h2 Existing channels][div #channels'
        ]
        $(if [ "$CHANNEL_LIST" = on ]; then
          printf '[h2 Existing channels][div #channels'
-         $(for chan in "$_DATA/&"*; do
+         for chan in "$_DATA/&"*; do
            printf '[a href="./%s" . %s]\n' "$(HTML "${chan##*/}")" "$(HTML "${chan##*/}")"
            printf '[a href="./%s" . %s]\n' "$(HTML "${chan##*/}")" "$(HTML "${chan##*/}")"
-         done)
+         done
          printf ']'
        fi)
        EOF
          printf ']'
        fi)
        EOF