diff options
Diffstat (limited to 'scripts/oe-pkgdata-util')
-rwxr-xr-x | scripts/oe-pkgdata-util | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index e4d262d7b7..bb917b4fc4 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util | |||
@@ -569,7 +569,10 @@ def main(): | |||
569 | sys.exit(1) | 569 | sys.exit(1) |
570 | logger.debug('Found bitbake path: %s' % bitbakepath) | 570 | logger.debug('Found bitbake path: %s' % bitbakepath) |
571 | tinfoil = tinfoil_init() | 571 | tinfoil = tinfoil_init() |
572 | args.pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR', True) | 572 | try: |
573 | args.pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR', True) | ||
574 | finally: | ||
575 | tinfoil.shutdown() | ||
573 | logger.debug('Value of PKGDATA_DIR is "%s"' % args.pkgdata_dir) | 576 | logger.debug('Value of PKGDATA_DIR is "%s"' % args.pkgdata_dir) |
574 | if not args.pkgdata_dir: | 577 | if not args.pkgdata_dir: |
575 | logger.error('Unable to determine pkgdata directory from PKGDATA_DIR') | 578 | logger.error('Unable to determine pkgdata directory from PKGDATA_DIR') |