shithub: werc

Download patch

ref: d24d62dca2db319021a69fbd1f6a42caa9a8113e
parent: a21b5fd98013ca1d5ca5a69ab25b6dc1d7f6cc12
author: sl <uriel@engel.se.cat-v.org>
date: Fri Feb 20 19:04:48 EST 2009

Atumatically expand conf_hide_paths arguments with $sitedir

--- a/bin/wercconf.rc
+++ b/bin/wercconf.rc
@@ -10,7 +10,7 @@
 
 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