discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defaults read executed inside msys not finding .GNUstepDefaults


From: Richard Frith-Macdonald
Subject: Re: defaults read executed inside msys not finding .GNUstepDefaults
Date: Tue, 2 Jun 2009 19:57:53 +0100


On 2 Jun 2009, at 15:38, Paul Terres wrote:

GNUstep is not returning the user home directory correctly inside the msys shell. eg) Running "defaults read" from the ms command prompt it finds the .GNUstepDefaults file at C:\Documents and Settings\username \GNUstep\Defaults. However running "defaults read" from a msys shell it tries to read .GNUstepDefaults at M:\USERS/home/username which does not exist. I think it should look for .GNUstepDefaults either at /c/Documents and Settings/username/GNUstep/Defaults or /home/username/GNUstep/Defaults.

Is there a work around for this problem?

Most likely this is an error in your msys shell setup ... it's probably telling (via environment variables) the GNUstep application that your home directory (the HOMEPATH environment variable) is 'USERS/ home/username' and your drive (the HOMEDRIVE environment variable ) is 'M'.

So to fix things, you just set the correct environment variable values (though perhaps simply unsetting the variables would be sufficient, if the fallback USERPROFILE environment variable is correctly set). Better still, you can find out where the incorrect values are being set in the environment (in .profile perhaps?) and fix that.

Basically, this is all about environment variables, and nothing to do with GNUstep ... except that it's perhaps time GNUstep changed to use USERPROFILE in preference to HOMEPATH.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]