summaryrefslogtreecommitdiff
path: root/source3/aparser/template.awk
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/template.awk')
-rw-r--r--source3/aparser/template.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/aparser/template.awk b/source3/aparser/template.awk
index ddaa604b99..2015700835 100644
--- a/source3/aparser/template.awk
+++ b/source3/aparser/template.awk
@@ -3,6 +3,7 @@
function print_template(f, tplname, v,
LOCAL, i, pat, line)
{
+ tplname="templates/"tplname;
if (numlines(tplname) <= 0) fatal("no template "tplname);
while ((getline line < tplname) > 0) {
while ((i = match(line,"@[a-zA-Z_]*@")) != 0) {