summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-20 12:45:12 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-20 12:45:12 +0100
commit831ce020a1fab2fb1d989a16f61854d0cb56a5c5 (patch)
treeee5792e7ee0c1a8f2bf909ff56d797e87cd76a42 /morph
parent9ee4e4c57624cfee21d3bcc132f780bff04a59c4 (diff)
downloadmorph-831ce020a1fab2fb1d989a16f61854d0cb56a5c5.tar.gz
Fix morph to obey no-git-update when building
Diffstat (limited to 'morph')
-rwxr-xr-xmorph3
1 files changed, 2 insertions, 1 deletions
diff --git a/morph b/morph
index ea11ff19..fa24d653 100755
--- a/morph
+++ b/morph
@@ -240,7 +240,8 @@ class Morph(cliapp.Application):
for artifact in needed:
artifact.source.repo = lrc.cache_repo(
artifact.source.repo_name)
- artifact.source.repo.update()
+ if not self.settings['no-git-update']:
+ artifact.source.repo.update()
if (self.settings['bootstrap'] or
not self.settings['staging-chroot']):