commit 87454f9e98011710fd93e7ba3cd57b6ec13859d8
parent 4c81a9bb10bf57c280dc9af39e7c5621a4f0d85e
Author: uriel@soma <unknown>
Date: Sat, 21 Feb 2009 00:04:48 +0000
Atumatically expand conf_hide_paths arguments with $sitedir
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/wercconf.rc b/bin/wercconf.rc
@@ -10,7 +10,7 @@ fn conf_perm_redirect {
fn conf_hide_paths {
for(i in $*)
- dirfilter=$dirfilter^'/'^`{echo $i|sed 's!/!\\/!g'}^'/d; '
+ dirfilter=$dirfilter^'/'^`{echo $sitedir'/'$i|sed 's!/+!\\/!g'}^'/d; '
}
# Usually will be called from within conf_enable_foo