commit 21bb809da3b3cd81e2b2dedb38b0e4023807358a
parent c4803c2543b818d1bd6174cd2ede6f5783ff252e
Author: uriel@suckless.org <unknown>
Date: Mon, 7 Jul 2008 05:07:27 +0200
Fix silly syntax error in blog-sidebar code
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/controller.rc b/bin/controller.rc
@@ -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/ '