first commit
This commit is contained in:
commit
dc1afb2cb2
228 changed files with 12529 additions and 0 deletions
19
bin/wercconf.rc
Executable file
19
bin/wercconf.rc
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
# To be used from config files
|
||||
fn conf_perm_redirect {
|
||||
if(~ $#* 1)
|
||||
perm_redir_to=$1
|
||||
if not
|
||||
ll_addh perm_redir_patterns $1 $2
|
||||
}
|
||||
|
||||
fn conf_hide_paths {
|
||||
for(i in $*)
|
||||
dirfilter=$dirfilter^'/'^`{echo $sitedir$conf_wd$i|sed 's!/+!\\/!g'}^'/d; '
|
||||
}
|
||||
|
||||
# Usually will be called from within conf_enable_foo
|
||||
fn conf_enable_app {
|
||||
# Note: maybe we should add test -d apps/$1/?
|
||||
if(! ~ $1 $enabled_apps)
|
||||
enabled_apps=( $enabled_apps $1 )
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue