Allow a dependency to have _post_prepare_script in this GitClone source.

This commit is contained in:
Matthieu Gautier 2017-03-13 18:19:04 +01:00
parent fa17b5e200
commit a212ec622b
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ class GitClone(Source):
def prepare(self):
self.command('gitclone', self._git_clone)
self.command('gitupdate', self._git_update)
if hasattr(self, '_post_prepare_script'):
self.command('post_prepare_script', self._post_prepare_script)
class Builder: