Fix silly syntax error, thanks anothy for the bug repport and squeek for the fix

This commit is contained in:
uriel 2008-06-15 20:41:32 +02:00
parent 0f53816a4f
commit 5cf2236cdd

View File

@ -32,7 +32,7 @@ dirfilter = '/\/[._]/d; s,^\./,,; s,\.md$,,; s,\.html,,;'
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)
}