diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 72d6092deb..e1282da45f 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1457,7 +1457,7 @@ class FetchMethod(object): | |||
1457 | else: | 1457 | else: |
1458 | cmd = 'rpm2cpio.sh %s | cpio -id' % (file) | 1458 | cmd = 'rpm2cpio.sh %s | cpio -id' % (file) |
1459 | elif file.endswith('.deb') or file.endswith('.ipk'): | 1459 | elif file.endswith('.deb') or file.endswith('.ipk'): |
1460 | output = subprocess.check_output('ar -t %s' % file, preexec_fn=subprocess_setup, shell=True) | 1460 | output = subprocess.check_output(['ar', '-t', file], preexec_fn=subprocess_setup) |
1461 | datafile = None | 1461 | datafile = None |
1462 | if output: | 1462 | if output: |
1463 | for line in output.decode().splitlines(): | 1463 | for line in output.decode().splitlines(): |