Fix error in fallback setup for local root.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21835 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-10-17 05:53:49 +00:00
parent 21d5f44af9
commit f2c992794e
2 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,8 @@
* Source/NSPathUtilities.m: Simplify by removing options for * Source/NSPathUtilities.m: Simplify by removing options for
redefining user home directories. Add code to use gnumake format redefining user home directories. Add code to use gnumake format
rather than shell format for config files. rather than shell format for config files. Fix error in default
setup of local root.
2005-10-17 Richard Frith-Macdonald <rfm@gnu.org> 2005-10-17 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -326,13 +326,13 @@ static void ExtractValuesFromConfig(NSDictionary *config)
if (gnustepNetworkRoot == nil) if (gnustepNetworkRoot == nil)
{ {
gnustepNetworkRoot = [NSString stringWithCString:\ gnustepNetworkRoot = [NSString stringWithCString:\
STRINGIFY(GNUSTEP_INSTALL_PREFIX)]; STRINGIFY(GNUSTEP_NETWORK_ROOT)];
gnustepNetworkRoot = RETAIN(getPath(gnustepNetworkRoot)); gnustepNetworkRoot = RETAIN(getPath(gnustepNetworkRoot));
} }
if (gnustepLocalRoot == nil) if (gnustepLocalRoot == nil)
{ {
gnustepLocalRoot = [NSString stringWithCString:\ gnustepLocalRoot = [NSString stringWithCString:\
STRINGIFY(GNUSTEP_INSTALL_PREFIX)]; STRINGIFY(GNUSTEP_LOCAL_ROOT)];
gnustepLocalRoot = RETAIN(getPath(gnustepLocalRoot)); gnustepLocalRoot = RETAIN(getPath(gnustepLocalRoot));
} }
} }