delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/29/03:44:54

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: <26414.193.133.13.145.1096443871.squirrel@193.133.13.145>
In-Reply-To: <20040928215346.GC2242@trixie.casa.cgf.cx>
References: <NUTMEGCtgx8VUkRacUt0000013f AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <NUTMEGyMp69YDqSkcJs00000140 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <20040928194018 DOT GR26145 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT CYG DOT 4 DOT 58 DOT 0409281439000 DOT 2292 AT fordpc DOT vss DOT fsi DOT com> <20040928194740 DOT GT26145 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 61 DOT 0409281546390 DOT 4220 AT slinky DOT cs DOT nyu DOT edu> <20040928215346 DOT GC2242 AT trixie DOT casa DOT cgf DOT cx>
Date: Wed, 29 Sep 2004 08:44:31 +0100 (BST)
Subject: Re: 'which' command does not expand '~' in path (base-files update needed)
From: "John Morrison" <john DOT r DOT morrison AT ntlworld DOT com>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.3a
MIME-Version: 1.0
X-IsSubscribed: yes

cgf wrote:
> Dropping the quotes from the original example will just cause
> everything to work correctly everywhere.
>
> John Morrison, would you mind doing this, please?

Hi cgf,

As I said, I wasn't following this thread for a while, so here are the
changes I'll do (I'm also trying to clean the scripts up as much as
possible).  I'll not be able to upload a version until tonight though, I
don't have the code base with me...

/etc/profile:
remove quotes from lines 23, 36 and 29
brace ${...} all variables
change ~ to ${HOME} on lines 193, 195 and 197

/etc/skel/.bash_profile (via default versions)
remove quotes from lines 13, 18 and 23
change ~ to ${HOME} on lines 7, 8, 12, 13, 17, 18, 22 and 23

If people didn't remove these files prior to the last upgrade they must
remove them before this upgrade otherwise they will not be overwritten.

Is there any other changes needed?

J.


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