Standardize paths

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22141 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-12-05 07:03:21 +00:00
parent d37d3e6766
commit e85198f38b
2 changed files with 4 additions and 1 deletions

View file

@ -224,6 +224,7 @@ getPath(NSString *path)
{
path = [gnustepConfigPath stringByAppendingPathComponent:
[path substringFromIndex: 2]];
path = [path stringByStandardizingPath];
}
return path;
}
@ -431,6 +432,8 @@ GNUstepConfig(NSDictionary *newConfig)
file = [file substringFromIndex: 2];
// Join the two together
file = [path stringByAppendingPathComponent: file];
// Standardize
file = [file stringByStandardizingPath];
}
if ([file isAbsolutePath] == NO)