Add a . to an empty path to make a relative path, before the initial /

is added.

svn path=/branches/xmlbuildsystem/; revision=13393
This commit is contained in:
Art Yerkes
2005-02-03 15:43:51 +00:00
parent 9dd8914484
commit 75acfdfa72

View File

@@ -187,7 +187,7 @@ Path::RelativeFromWorkingDirectory ( const string& path )
#ifdef WIN32
if ( i ) out += "/";
#else
out += "/";
out += out.size() ? "/" : "./";
#endif
out += vout[i];
}