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]; }