summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-12-16 19:03:54 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-02 19:10:04 +0100
commit79f9a2240e310d8e1fecec67084f25be694ff3b8 (patch)
tree81af0614478bd0be23bda8e5ebfd83504ef3e984
parentad3c0e03e2e1178a707ec6c529108f1df71a47a4 (diff)
downloadsamba-79f9a2240e310d8e1fecec67084f25be694ff3b8.tar.gz
samba-79f9a2240e310d8e1fecec67084f25be694ff3b8.tar.bz2
samba-79f9a2240e310d8e1fecec67084f25be694ff3b8.zip
s4-provision: Fix tdbdump path lookup in make test.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/scripting/python/samba/provision/sambadns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py
index 9d8530728b..5fa022bea1 100644
--- a/source4/scripting/python/samba/provision/sambadns.py
+++ b/source4/scripting/python/samba/provision/sambadns.py
@@ -669,7 +669,7 @@ def tdb_copy(logger, file1, file2):
"""Copy tdb file using tdbbackup utility and rename it
"""
# Find the location of tdbbackup tool
- dirs = ["bin", samba.param.bin_dir()]
+ dirs = ["bin", samba.param.bin_dir()] + os.getenv('PATH').split(os.pathsep)
for d in dirs:
toolpath = os.path.join(d, "tdbbackup")
if os.path.exists(toolpath):