summaryrefslogtreecommitdiff
path: root/buildstream/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/utils.py')
-rw-r--r--buildstream/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py
index 57830f8a4..2b1cc933c 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -500,7 +500,7 @@ def _copy_directories(srcdir, destdir, target):
yield (new_dir, mode)
else:
raise OSError('Source directory tree has file where '
- 'directory expected: {}'.format(dir))
+ 'directory expected: {}'.format(old_dir))
def _ensure_real_directory(root, destpath):