commit 63cd3a9dafd98776641294be60e131077fc59c00
parent 345bb70dc60f649b92faeb0e7a97bb4f268d7a1c
Author: uriel@engel.se.cat-v.org <unknown>
Date: Tue, 14 Oct 2008 01:10:34 +0200
Properly test if msterSite is set when looking for templates
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/controller.rc b/bin/controller.rc
@@ -9,7 +9,7 @@ fn get_lib_file {
wantedfile = $1
if (test -f $sitedir/_werc/lib/$wantedfile)
echo -n $sitedir/_werc/lib/$wantedfile
- if not if(! ~ $masterSite 0 && test -f sites/$masterSite/_werc/lib/$wantedfile)
+ if not if(! ~ $#masterSite 0 && test -f sites/$masterSite/_werc/lib/$wantedfile)
echo -n sites/$masterSite/_werc/lib/$wantedfile
if not if (test -f lib/$wantedfile)
echo -n lib/$wantedfile