From 7fe764cce5536eff2df2383138884eb5a5fd50c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 31 Jul 2007 22:37:21 +0000 Subject: [PATCH] bonefish: Fixed bug #1346. The relative output directory for the root directory was computed as '.' which resulted in output path ending with '/.', causing mkdir to choke. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21778 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/MiscRules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/jam/MiscRules b/build/jam/MiscRules index 6755a2a4c8..625899e66c 100644 --- a/build/jam/MiscRules +++ b/build/jam/MiscRules @@ -2,6 +2,9 @@ rule SetupObjectsDir { local relPath = [ FDirName $(SUBDIR_TOKENS[2-]) ] ; + if $(relPath) = . { + relPath = ; + } COMMON_PLATFORM_LOCATE_TARGET = [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) $(relPath) ] ;