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 {
|
fn menu {
|
||||||
lsArgs = ('-F')
|
lsArgs = ('-F')
|
||||||
# XXX will not work properly for $#blogDirs > 1 and matching is hackish
|
# 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)
|
lsArgs = ($lsArgs -r)
|
||||||
}
|
}
|
||||||
ls $lsArgs $1 | sed $dirfilter | awk -F/ '
|
ls $lsArgs $1 | sed $dirfilter | awk -F/ '
|
||||||
|
Loading…
Reference in New Issue
Block a user