| delorie.com/archives/browse.cgi | search |
| 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 |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <001601c1a9f4$4e4d7ce0$0700a8c0@vergenet.com> |
| From: | "Arek" <james AT verge-rpg DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Install problems |
| Date: | Wed, 30 Jan 2002 19:12:08 -0600 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.50.4807.1700 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
I just installed cygwin today (after a long while of not having it
installed...) and when I started up bash I discovered that $HOME wasn't
being set correctly! After looking through the faq, I thought this might be
related to me having a windows login name with a space in it, so I edited
/etc/profile to explicitly set my username to james. This didn't work.
After doing a bit of testing, I discovered that the following structure:
if [ -z "$HOME" ]; then
HOME="/home/$USER"
fi
was failing to set the HOME variable correctly. I was able to fix this by
removing the if/fi statements and just arbitrarily setting the HOME
variable. Am I going to have other problems doing this? Also, is there a
known reason that the HOME variable wasn't being set correctly in the first
place (it was just being set to $USER.)?
My operating system is Windows ME, if that's any help...
James Potts
(james AT verge-rpg DOT com)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |