[acprep] Remove obsoleted submodule phase

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
This commit is contained in:
Alexis Hildebrandt 2015-01-12 10:02:31 +01:00
parent a468fdca0e
commit cc0b32d9bc

8
acprep
View file

@ -490,17 +490,10 @@ class PrepareBuild(CommandLineApp):
# Update local files with the latest information #
#########################################################################
def phase_submodule(self, *args):
self.log.info('Executing phase: submodule')
if self.git_working_tree():
self.execute('git', 'submodule', 'init')
self.execute('git', 'submodule', 'update')
def phase_pull(self, *args):
self.log.info('Executing phase: pull')
if self.git_working_tree():
self.execute('git', 'pull')
self.phase_submodule()
#########################################################################
# Automatic installation of build dependencies #
@ -860,7 +853,6 @@ class PrepareBuild(CommandLineApp):
def phase_config(self, *args):
self.log.info('Executing phase: config')
self.phase_submodule()
self.phase_configure(*args)
if self.should_clean:
self.phase_clean()