diff options
author | Ross Burton <ross.burton@intel.com> | 2018-11-23 15:01:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:18:54 +0000 |
commit | e313645b88a3348305534a6b50fcdd4a2274613c (patch) | |
tree | 6ddc75453b1082530d0cce20a58af7230c2cc4b2 /bitbake/lib | |
parent | 894df54323eb43f84eee8341f0af6332638e8dec (diff) | |
download | poky-e313645b88a3348305534a6b50fcdd4a2274613c.tar.gz |
bitbake: layerindex: don't use shell=True when cloning
(Bitbake rev: b94d4728b35350b812838cdbc7afada776ad5122)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 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 |