summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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 c5c647b2f3..d9b624d4c7 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -456,7 +456,7 @@ def _add_md5(config, recipename, filename):
456 f.write('%s|%s|%s\n' % (recipename, os.path.relpath(fn, config.workspace_path), md5)) 456 f.write('%s|%s|%s\n' % (recipename, os.path.relpath(fn, config.workspace_path), md5))
457 457
458 if os.path.isdir(filename): 458 if os.path.isdir(filename):
459 for root, _, files in os.walk(os.path.dirname(filename)): 459 for root, _, files in os.walk(filename):
460 for f in files: 460 for f in files:
461 addfile(os.path.join(root, f)) 461 addfile(os.path.join(root, f))
462 else: 462 else: