summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 572b71a965..8d05f0c3d8 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1469,7 +1469,7 @@ class FetchMethod(object):
1469 else: 1469 else:
1470 cmd = 'rpm2cpio.sh %s | cpio -id' % (file) 1470 cmd = 'rpm2cpio.sh %s | cpio -id' % (file)
1471 elif file.endswith('.deb') or file.endswith('.ipk'): 1471 elif file.endswith('.deb') or file.endswith('.ipk'):
1472 output = subprocess.check_output('ar -t %s' % file, preexec_fn=subprocess_setup, shell=True) 1472 output = subprocess.check_output(['ar', '-t', file], preexec_fn=subprocess_setup)
1473 datafile = None 1473 datafile = None
1474 if output: 1474 if output:
1475 for line in output.decode().splitlines(): 1475 for line in output.decode().splitlines():