summaryrefslogtreecommitdiff
path: root/source3/aparser/template.awk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-14 14:08:16 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-14 14:08:16 +0000
commit13371c4859046b9c8ea50b79b885c29adb6b7e4e (patch)
tree630c9ef35516f05339c0500fb655ff2ad79d242b /source3/aparser/template.awk
parentb7022e94d2ab62d522b0a7c2886cce3afaff6872 (diff)
downloadsamba-13371c4859046b9c8ea50b79b885c29adb6b7e4e.tar.gz
samba-13371c4859046b9c8ea50b79b885c29adb6b7e4e.tar.bz2
samba-13371c4859046b9c8ea50b79b885c29adb6b7e4e.zip
moved *.tpl templates into templates/ subdirectory
(This used to be commit 6aa51dc1a569358935190526960ac80b7b53dd91)
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) {