diff options
-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 3b8389e0a2..709372e16f 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(): |