Properly test if msterSite is set when looking for templates
This commit is contained in:
parent
e4ad62e733
commit
f0bfff3f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue