fix #313, on some systems, phobos is not setup in a "phobos" folder

This commit is contained in:
Basile Burg 2018-04-27 18:53:41 +02:00
parent e97b3936c2
commit dc9f2fed64
1 changed files with 1 additions and 1 deletions

View File

@ -1953,7 +1953,7 @@ begin
end;
pth := pth.extractFilePath;
setLength(pth,pth.length-1);
if (pth.extractFilename = 'phobos') or (pth.extractFilename = 'core')
if (pth.extractFilename = 'std') or (pth.extractFilename = 'core')
or (pth.extractFilename = 'etc') then
break;
end;