From 75acfdfa72058b3246a2cfd5ef336b53cc381678 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Thu, 3 Feb 2005 15:43:51 +0000 Subject: [PATCH] Add a . to an empty path to make a relative path, before the initial / is added. svn path=/branches/xmlbuildsystem/; revision=13393 --- reactos/tools/rbuild/XML.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/XML.cpp b/reactos/tools/rbuild/XML.cpp index e95ecff3a72..4950aef94a2 100644 --- a/reactos/tools/rbuild/XML.cpp +++ b/reactos/tools/rbuild/XML.cpp @@ -187,7 +187,7 @@ Path::RelativeFromWorkingDirectory ( const string& path ) #ifdef WIN32 if ( i ) out += "/"; #else - out += "/"; + out += out.size() ? "/" : "./"; #endif out += vout[i]; }