git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7022e9
)
moved *.tpl templates into templates/ subdirectory
author
Andrew Tridgell
<tridge@samba.org>
Sun, 14 May 2000 14:08:16 +0000
(14:08 +0000)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/aparser/template.awk
b/source3/aparser/template.awk
index ddaa604b99d675b3b29beb68448f8a5ffebcaf5c..20157008354ab7092e055320464434d97da6d7f8 100644
(file)
--- 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) {