From 43b74f32205fe207e6f68be8dbdb87052ec07ebe Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Thu, 9 Dec 2010 03:29:34 -0800 Subject: [PATCH] builder._nice(): show the right filename in the case of chdir(). This only affects cosmetics, not actual behaviour, which is why the unit tests didn't catch it. --- builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.py b/builder.py index 8a8b5ba..eeeccbb 100644 --- a/builder.py +++ b/builder.py @@ -28,7 +28,7 @@ def _find_do_file(t): def _nice(t): - return os.path.normpath(os.path.join(vars.PWD, t)) + return state.relpath(t, vars.STARTDIR) def _try_stat(filename):