mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
s4-provision: Fix tdbdump path lookup in make test.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
ad3c0e03e2
commit
79f9a2240e
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user