merged - swerc - anselm's simpler werc fork
 (HTM) git clone git://git.suckless.org/swerc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 118c2fd871c365b43929995a57c643804b66f98c
 (DIR) parent bbcc3e900761d7f15170e25b03136e18b4bbc506
 (HTM) Author: anselm@garbe.us <unknown>
       Date:   Sat, 17 Mar 2012 19:11:39 +0100
       
       merged
       Diffstat:
         M bin/util.rc                         |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/bin/util.rc b/bin/util.rc
       @@ -84,7 +84,9 @@ fn conf_perm_redirect {
        }
        
        fn get_tpl_file {
       -    if(test -f tpl/$1.local)
       +    if(test -f $sitedir/_werc/tpl/$1)
       +        echo -n $sitedir/_werc/tpl/$1
       +    if not if(test -f tpl/$1.local)
                echo -n tpl/$1.local
            if not if(test -f tpl/$1)
                echo -n tpl/$1