mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
bitbake: layerindex: don't use shell=True when cloning
(Bitbake rev: cb4aab7406dc8aefb646b37330b722cf9060ad73) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6b84ac7883
commit
9c032d3dd9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user