merged - swerc - anselm's simpler werc fork | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 118c2fd871c365b43929995a57c643804b66f98c | |
parent bbcc3e900761d7f15170e25b03136e18b4bbc506 | |
Author: [email protected] <unknown> | |
Date: Sat, 17 Mar 2012 19:11:39 +0100 | |
merged | |
Diffstat: | |
M bin/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 |