From d16c0e369ef58a4051c9c917f9448acebf21d010 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 28 Mar 2015 16:15:03 +0000 Subject: Pass --recursive to 'git clone' in autobuild. This makes it possible to use submodules in Samba. Change-Id: Iccb1876b1daf82864b18486f2dca9036d7d3c75c Signed-Off-By: Jelmer Vernooij Reviewed-by: David Disseldorp --- script/autobuild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script') 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 -- cgit v1.2.1