Minor comment cleanups.
This commit is contained in:
parent
079d4b43e4
commit
9745991ff9
4 changed files with 32 additions and 17 deletions
|
|
@ -265,10 +265,8 @@ fn select_apps {
|
|||
found=()
|
||||
for(a in $enabled_apps) {
|
||||
. ./apps/$a/app.rc
|
||||
if($a^'_test') {
|
||||
$a^'_setup'
|
||||
if($a^'_test')
|
||||
found=yes
|
||||
}
|
||||
}
|
||||
|
||||
~ $#found 1 # Set status
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ fn hide_paths {
|
|||
|
||||
# Sidebar
|
||||
fn gensidebar {
|
||||
# Ignore stderr, last item in path might be a file that doesn't exist (eg., foo for foo.md)
|
||||
# Ignore stderr, last path element might be a file that doesn't exist (eg., foo for foo.md)
|
||||
ls -F $sitedir^/./^$req_paths_list >[2]/dev/null | sed 's,^'$sitedir',,; '^$dirfilter | sort -u | awk -F/ '
|
||||
function p(x, y, s) {
|
||||
for(i=0; i < x-y; i+=1)
|
||||
|
|
@ -248,7 +248,6 @@ if not {
|
|||
p=()
|
||||
cd $sitedir
|
||||
for(i in ('' $args)) {
|
||||
# TODO We can build a list of paths here that can be used in sidebar, instead of iterating args twice
|
||||
p=($"p^/^$i)
|
||||
req_paths_list=($req_paths_list $p)
|
||||
# We don't want blog settings to cascade into posts, note that we are inBlog instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue