Fix handling of _werc/config in domain root. - swerc - anselm's simpler werc fo… | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 29a3dd20332eb253964850a5ce264e4e4b9c086e | |
parent 566786624b6f2c0d512c9f661e4f033e4914e355 | |
Author: [email protected] <unknown> | |
Date: Thu, 1 Jan 2009 08:14:38 +0100 | |
Fix handling of _werc/config in domain root. | |
Diffstat: | |
M bin/werc.rc | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/bin/werc.rc b/bin/werc.rc | |
@@ -203,6 +203,8 @@ if(! ~ $args '') { | |
p=() | |
cd $sitedir | |
+if(test -f _werc/config) | |
+ . _werc/config | |
for(i in ('' $args)) { | |
p=($"p^/^$i) | |
req_paths_list=($req_paths_list $p) |