summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 8efd2628fd..9fd936f146 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -505,7 +505,7 @@ def _add_md5(config, recipename, filename):
505 f.write('%s|%s|%s\n' % (recipename, os.path.relpath(fn, config.workspace_path), md5)) 505 f.write('%s|%s|%s\n' % (recipename, os.path.relpath(fn, config.workspace_path), md5))
506 506
507 if os.path.isdir(filename): 507 if os.path.isdir(filename):
508 for root, _, files in os.walk(os.path.dirname(filename)): 508 for root, _, files in os.walk(filename):
509 for f in files: 509 for f in files:
510 addfile(os.path.join(root, f)) 510 addfile(os.path.join(root, f))
511 else: 511 else: