delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/25/15:41:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <40634415.1090507@RWTH-Aachen.DE>
Date: Thu, 25 Mar 2004 21:41:57 +0100
From: "Ralf G. R. Bergs" <rabe AT RWTH-Aachen DOT DE>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: bash incorrectly determines HOME and HOMEDRIVE
X-Enigmail-Version: 0.83.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
X-SA-Exim-Mail-From: rabe AT RWTH-Aachen DOT DE
X-SA-Exim-Scanned: No; SAEximRunCond expanded to false

[Please CC: me in your replies, since I'm not subscribed to this list. I 
will post a summary if I receive enough response.]


Hi there,

I've a quite unusual setup on my XP box since my profile directory is 
NOT on the XP system drive. I moved it from there onto a separate partition.

ALL Windoze apps are happy and succeed to determine the correct profile 
path when storing application data, but Cygwin fails. :-(

My system drive is E:, and Cygwin incorrectly sets HOMEDRIVE to E: and 
HOME to "E:\Documents and Settings\rabe". The correct location of HOME 
is "H:\Documents and Settings\rabe", so HOMEDRIVE should be set to H:.

I've manually set the correct values in XP's "System Properties -> 
Environment Variables". That makes HOME appear correctly in a bash, but 
HOMEDRIVE is still incorrect (E:). I suspect it's a bug in bash.

Can anyone check whether my assumption is correct?

Thanks,

Ralf


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019