git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7f8b40f
)
s4-provision: removed spurious os.chdir() from upgradehelpers.py
author
Andrew Tridgell
<tridge@samba.org>
Thu, 3 Feb 2011 22:51:38 +0000
(09:51 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 7 Feb 2011 02:22:01 +0000
(13:22 +1100)
this breaks make test with a top level build, and is not needed
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/upgradehelpers.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/upgradehelpers.py
b/source4/scripting/python/samba/upgradehelpers.py
index ddc857e1550ba003fa7e6a1591d062aa4fdcb05f..a10c6d39da54140c48abbaa6792ad0b3e4c405b3 100755
(executable)
--- 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,