summaryrefslogtreecommitdiff
path: root/source4/script/provision.pl
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2005-02-02 09:59:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:28 -0500
commit578b6e5567db5c9378c5d9f175ba9987d8a5e1f9 (patch)
tree142e7be5850e9348ab554ff503c1a48430ba71b5 /source4/script/provision.pl
parent831e06810a1bc486424f89ee5628fc18f92fd1e4 (diff)
downloadsamba-578b6e5567db5c9378c5d9f175ba9987d8a5e1f9.tar.gz
samba-578b6e5567db5c9378c5d9f175ba9987d8a5e1f9.tar.bz2
samba-578b6e5567db5c9378c5d9f175ba9987d8a5e1f9.zip
r5169: As provisioning script generates everything under $newdb/ directory, put generated domain zone there as well
(This used to be commit f4fc885c14da517051cbcf7296b804da0f5f70b4)
Diffstat (limited to 'source4/script/provision.pl')
-rwxr-xr-xsource4/script/provision.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/script/provision.pl b/source4/script/provision.pl
index 1730f0859a..239e6ead83 100755
--- a/source4/script/provision.pl
+++ b/source4/script/provision.pl
@@ -424,9 +424,9 @@ $data = FileLoad("provision.zone") || die "Unable to load provision.zone\n";
$res = apply_substitutions($data);
-print "saving dns zone to $newdb/dns.zone ...\n";
+print "saving dns zone to $newdb/$dnsdomain.zone ...\n";
-FileSave("$dnsdomain.zone", $res);
+FileSave("$newdb/$dnsdomain.zone", $res);
print "creating $newdb/hklm.ldb ... \n";