diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2015-03-28 16:15:03 +0000 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2015-03-30 11:04:15 +0200 |
commit | d16c0e369ef58a4051c9c917f9448acebf21d010 (patch) | |
tree | 12734dc5191eef48dc88298ae28734847113a2aa /script | |
parent | b2d2fd2c6785b7d459a9dd0dcbe4a0cc1a922030 (diff) | |
download | samba-d16c0e369ef58a4051c9c917f9448acebf21d010.tar.gz |
Pass --recursive to 'git clone' in autobuild.
This makes it possible to use submodules in Samba.
Change-Id: Iccb1876b1daf82864b18486f2dca9036d7d3c75c
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index 3175ff082fb..6e1e3e044cb 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -197,7 +197,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" % (test_master, self.sdir), dir=test_master, show=True) + run_cmd("git clone --recursive --shared %s %s" % (test_master, self.sdir), dir=test_master, show=True) self.start_next() def start_next(self): @@ -575,7 +575,7 @@ while True: try: run_cmd("rm -rf %s" % test_master) cleanup_list.append(test_master) - run_cmd("git clone --shared %s %s" % (gitroot, test_master), show=True, dir=gitroot) + run_cmd("git clone --recursive --shared %s %s" % (gitroot, test_master), show=True, dir=gitroot) except Exception: cleanup() raise |