summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bblayers/layerindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/layerindex.py b/bitbake/lib/bblayers/layerindex.py
index 9f02a9da2e..b2ff2268ea 100644
--- a/bitbake/lib/bblayers/layerindex.py
+++ b/bitbake/lib/bblayers/layerindex.py
@@ -28,7 +28,7 @@ class LayerIndexPlugin(ActionPlugin):
28 layerdir = os.path.join(repodir, subdir) 28 layerdir = os.path.join(repodir, subdir)
29 if not os.path.exists(repodir): 29 if not os.path.exists(repodir):
30 if fetch_layer: 30 if fetch_layer:
31 result = subprocess.call('git clone %s %s' % (url, repodir), shell = True) 31 result = subprocess.call(['git', 'clone', url, repodir])
32 if result: 32 if result:
33 logger.error("Failed to download %s" % url) 33 logger.error("Failed to download %s" % url)
34 return None, None, None 34 return None, None, None