.ide: CppBuilder allows relative '..' paths again

git-svn-id: svn://ultimatepp.org/upp/trunk@4401 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-01-12 19:19:43 +00:00
parent bd00706432
commit 1ae2f1d0a7

View file

@ -230,7 +230,7 @@ static void AddPath(VectorMap<String, String>& out, String key, String path)
Vector<String> CppBuilder::CustomStep(const String& pf, const String& package_, bool& error)
{
String package = Nvl(package_, mainpackage);
String path = *pf == '.' ? target : SourcePath(package, pf);
String path = (*pf == '.' && pf[1] != '.') ? target : SourcePath(package, pf);
String file = GetHostPath(path);
String ext = ToLower(GetFileExt(pf));
for(int i = 0; i < wspc.GetCount(); i++) {