diff options
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/bblayers/layerindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/layerindex.py b/bitbake/lib/bblayers/layerindex.py index 9af385db59..ac7813372b 100644 --- a/bitbake/lib/bblayers/layerindex.py +++ b/bitbake/lib/bblayers/layerindex.py | |||
| @@ -133,7 +133,7 @@ class LayerIndexPlugin(ActionPlugin): | |||
| 133 | layerdir = os.path.join(repodir, subdir) | 133 | layerdir = os.path.join(repodir, subdir) |
| 134 | if not os.path.exists(repodir): | 134 | if not os.path.exists(repodir): |
| 135 | if fetch_layer: | 135 | if fetch_layer: |
| 136 | result = subprocess.call('git clone %s %s' % (url, repodir), shell = True) | 136 | result = subprocess.call(['git', 'clone', url, repodir]) |
| 137 | if result: | 137 | if result: |
| 138 | logger.error("Failed to download %s" % url) | 138 | logger.error("Failed to download %s" % url) |
| 139 | return None, None | 139 | return None, None |
