Fix silly syntax error in blog-sidebar code

This commit is contained in:
uriel 2008-07-07 05:07:27 +02:00
parent c2fe445b82
commit 79054ec84c

View File

@ -38,7 +38,7 @@ fn hide_paths {
fn menu {
lsArgs = ('-F')
# XXX will not work properly for $#blogDirs > 1 and matching is hackish
if ( ! ~ $#inBlog 0 || ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ ) { # Work in progress XXX
if ( ! ~ $#inBlog 0 || { ! ~ $#blogDirs 0 && ~ $blogDirs^/ *$1 *$1/ } ) { # Work in progress XXX
lsArgs = ($lsArgs -r)
}
ls $lsArgs $1 | sed $dirfilter | awk -F/ '