From 492f3b96f149a835f7f1524857928a15bcb2e456 Mon Sep 17 00:00:00 2001 From: Uriel Date: Sat, 21 Feb 2009 00:04:48 +0000 Subject: [PATCH] Atumatically expand conf_hide_paths arguments with $sitedir --- bin/wercconf.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wercconf.rc b/bin/wercconf.rc index 1e0f4a5..82b782d 100644 --- 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