mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Hide user resources in .GNUstep for standalone packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3f096773cf
commit
62e4aa75b9
3 changed files with 21 additions and 20 deletions
|
@ -361,11 +361,7 @@ substUser(NSString *str)
|
|||
static inline NSString *
|
||||
getPath(NSString *path)
|
||||
{
|
||||
if ([path isEqualToString: @"."] == YES)
|
||||
{
|
||||
path = gnustepConfigPath;
|
||||
}
|
||||
else if ([path hasPrefix: @"./"] == YES)
|
||||
if ([path hasPrefix: @"./"] == YES)
|
||||
{
|
||||
path = [gnustepConfigPath stringByAppendingPathComponent:
|
||||
[path substringFromIndex: 2]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue