Fix silly syntax error in blog-sidebar code
This commit is contained in:
parent
c2fe445b82
commit
79054ec84c
@ -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/ '
|
||||
|
Loading…
Reference in New Issue
Block a user