applied J's patch, thanks - swerc - anselm's simpler werc fork
(HTM) git clone git://git.suckless.org/swerc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit a38b5273bf80bed66c61534d98eb2e6ebcb7d761
(DIR) parent d9c0ed83c46ae15c475eef99217c03280eeb2bd3
(HTM) Author: anselm@garbe.us <unknown>
Date: Sat, 17 Mar 2012 18:07:14 +0100
applied J's patch, thanks
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