ref: 05e5899fc564a8ee7829a0cd97dc40bc4e9b0248
dir: /bin/wercconf.rc/
# To be used from config files fn conf_perm_redirect { if(~ $#* 1) perm_redirect $1 if not perm_redir_patterns=($perm_redir_patterns $1 $2) } fn conf_hide_paths { for(i in $*) dirfilter=$dirfilter^'/'^`{echo $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 ) }