diff options
author | Ross Burton <ross.burton@intel.com> | 2018-11-23 15:01:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-23 16:10:20 +0000 |
commit | cb4aab7406dc8aefb646b37330b722cf9060ad73 (patch) | |
tree | 25f23c8026ed72fac66bfaf52045ea0fde2a0c1a /lib/bblayers | |
parent | 19dee675bb9ad012d28e1e57a888931355a831cb (diff) | |
download | bitbake-cb4aab7406dc8aefb646b37330b722cf9060ad73.tar.gz |
layerindex: don't use shell=True when cloning
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bblayers')
-rw-r--r-- | lib/bblayers/layerindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bblayers/layerindex.py b/lib/bblayers/layerindex.py index 9f02a9da2..b2ff2268e 100644 --- a/lib/bblayers/layerindex.py +++ b/lib/bblayers/layerindex.py @@ -28,7 +28,7 @@ class LayerIndexPlugin(ActionPlugin): layerdir = os.path.join(repodir, subdir) if not os.path.exists(repodir): if fetch_layer: - result = subprocess.call('git clone %s %s' % (url, repodir), shell = True) + result = subprocess.call(['git', 'clone', url, repodir]) if result: logger.error("Failed to download %s" % url) return None, None, None |