summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/path.py')
-rw-r--r--meta/lib/oe/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py
index 8eaa3c5da4..683b09701c 100644
--- a/meta/lib/oe/path.py
+++ b/meta/lib/oe/path.py
@@ -42,7 +42,7 @@ def relative(src, dest):
42 42
43def format_display(path, metadata): 43def format_display(path, metadata):
44 """ Prepare a path for display to the user. """ 44 """ Prepare a path for display to the user. """
45 rel = relative(metadata.getVar("TOPDIR", 1), path) 45 rel = relative(metadata.getVar("TOPDIR", True), path)
46 if len(rel) > len(path): 46 if len(rel) > len(path):
47 return path 47 return path
48 else: 48 else: