swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit a38b5273bf80bed66c61534d98eb2e6ebcb7d761
parent d9c0ed83c46ae15c475eef99217c03280eeb2bd3
Author: anselm@garbe.us <unknown>
Date:   Sat, 17 Mar 2012 18:07:14 +0100

applied J's patch, thanks
Diffstat:
Mbin/util.rc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

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