From 9eaca88a354e622bbef0d79b4996831494f02ff1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Feb 2011 09:51:38 +1100 Subject: 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 --- source4/scripting/python/samba/upgradehelpers.py | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/scripting') 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, -- cgit