1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-provision: removed spurious os.chdir() from upgradehelpers.py

this breaks make test with a top level build, and is not needed

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2011-02-04 09:51:38 +11:00
parent 7f8b40f012
commit 9eaca88a35

View File

@ -364,7 +364,6 @@ def newprovision(names, setup_dir, creds, session, smbconf, provdir, logger):
"""
if os.path.isdir(provdir):
shutil.rmtree(provdir)
os.chdir(os.path.join(setup_dir,".."))
os.mkdir(provdir)
logger.info("Provision stored in %s", provdir)
provision(setup_dir, logger, session, creds, smbconf=smbconf,