summaryrefslogtreecommitdiffstats
path: root/script/autobuild.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-07 11:43:03 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:02 +1100
commitd0f54702c5210e910f29e7067409495c8c186752 (patch)
treeb76b5e601d2bec772c842653db761b92a43a1ece /script/autobuild.py
parent03027ad8f1b698cbba0b78b68cf58b8505ad45d5 (diff)
downloadsamba-d0f54702c5210e910f29e7067409495c8c186752.tar.gz
samba-d0f54702c5210e910f29e7067409495c8c186752.tar.xz
samba-d0f54702c5210e910f29e7067409495c8c186752.zip
autobuild: fixed clone source for build trees
this fixes a bug where autobuild would test the tree that the user pushed, not the tree that has been rebased on master. That could cause broken trees to get into master. Andrew Bartlett noticed this with a tree from Jan 19th. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/autobuild.py')
-rwxr-xr-xscript/autobuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index d64ecfb3906..efeb7970087 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -157,7 +157,7 @@ class builder(object):
cleanup_list.append(self.prefix)
os.makedirs(self.sdir)
run_cmd("rm -rf %s" % self.sdir)
- run_cmd("git clone --shared %s %s" % (gitroot, self.sdir))
+ run_cmd("git clone --shared %s %s" % (test_master, self.sdir), dir=test_master, show=True)
self.start_next()
def start_next(self):