delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/21/23:24:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: <4150F06C.9070001@comcast.net>
Date: Tue, 21 Sep 2004 22:24:28 -0500
From: CyberZombie <Cyber DOT Zombie AT comcast DOT net>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Request for change to /etc/profile
References: <20040922023131 DOT BDA8984CB1 AT pessard DOT research DOT canon DOT com DOT au>
In-Reply-To: <20040922023131.BDA8984CB1@pessard.research.canon.com.au>

Or 'mkdir -p "$HOME"'...

luke DOT kendall AT cisra DOT canon DOT com DOT au wrote:

>Could /etc/profile please get a small change?  Could it check that
>mkdir $HOME works?
>
>Our situation is that for laptops, the /home area exists on a PGP
>mounted disc.  But if a user isn't logged in, then this area doesn't
>exist, and you can't mount any home drives.
>
>So if you slogin to the machine, you get a lot of erroneous actions
>from the body of that "if" statement.
>
>$ diff /etc/profile /etc/profile.orig
>38,39c38
>< if [ ! -d "$HOME" ] && mkdir "$HOME"
>< then
>---
>  
>
>>if [ ! -d "$HOME" ]; then
>>    
>>
>
>Regards,
>
>luke
>
>
>--
>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/
>
>
>  
>


--
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