skip invalid local repo
authorZhang Qiang <qiang.z.zhang@intel.com>
Mon, 8 Jul 2013 07:41:52 +0000 (15:41 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Mon, 8 Jul 2013 07:41:52 +0000 (15:41 +0800)
Change-Id: I8d9f19a7c888c1dc7570500e850c141f9a54baa3

gitbuildsys/cmd_build.py

index 449911c..b98307d 100644 (file)
@@ -99,6 +99,7 @@ def prepare_repos_and_build_conf(args, arch, profile):
                         r = os.path.abspath(os.path.expanduser(r))
                     else:
                         log.warning('local repo: %s does not exist' % r)
+                        continue
                 opt_repo = SafeURL(r)
             except ValueError, err:
                 log.warning('Invalid repo %s: %s' % (r, str(err)))