diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-04 09:51:38 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-07 13:22:01 +1100 |
commit | 9eaca88a354e622bbef0d79b4996831494f02ff1 (patch) | |
tree | 88f357e48b89affff3d7d867bbccda45f6295da1 /source4/scripting | |
parent | 7f8b40f012f616a69909fd620820fe90f4ffb067 (diff) | |
download | samba-9eaca88a354e622bbef0d79b4996831494f02ff1.tar.gz samba-9eaca88a354e622bbef0d79b4996831494f02ff1.tar.bz2 samba-9eaca88a354e622bbef0d79b4996831494f02ff1.zip |
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>
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/python/samba/upgradehelpers.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py index ddc857e155..a10c6d39da 100755 --- a/source4/scripting/python/samba/upgradehelpers.py +++ b/source4/scripting/python/samba/upgradehelpers.py @@ -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, |