moved *.tpl templates into templates/ subdirectory
authorAndrew Tridgell <tridge@samba.org>
Sun, 14 May 2000 14:08:16 +0000 (14:08 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 14 May 2000 14:08:16 +0000 (14:08 +0000)
(This used to be commit 6aa51dc1a569358935190526960ac80b7b53dd91)

source3/aparser/template.awk

index ddaa604b99d675b3b29beb68448f8a5ffebcaf5c..20157008354ab7092e055320464434d97da6d7f8 100644 (file)
@@ -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) {