delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/08/16:59:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:to:subject:references:date
:mime-version:content-transfer-encoding:from:message-id
:in-reply-to; q=dns; s=default; b=DetZ68qC5c5f2EWSrEcy88+RsIHXBp
1Yr5Qs+a+u6ueZXJy1F//tqVGRv2h09p4WIu36HoqIsr680It4SFl4dqDDIEZp3C
BBC+K1ciOXqdzl8Ludyu11gF38FoiYLl2leoZ1vpHovcFoFg4J/tES8xXuSuqTDg
h0VJPBvj3sO8Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:to:subject:references:date
:mime-version:content-transfer-encoding:from:message-id
:in-reply-to; s=default; bh=i1MKiRR5j8KuoFbBkRx7/lGwg1w=; b=Q5Lo
ch2d8iFwp/MC8U1jSymOXxMCnd13bc6bJDQCXHK3gYSThc/1yjJ1kAtwYqU33jWT
5F0w7jfAWS+QhjhdteRt8YWXymaNrEmysHH67Pz92XGtpeE8tF7mwM8y4nYNKRCD
tN1prAq8x+jHypbehzVhZWhQKVHoWVNmezmTblI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mailout.ish.de
X-Abuse-ID: hremUFXL0y-8240 AT umkbw DOT customer
To: cygwin AT cygwin DOT com
Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH
References: <op DOT x88uwyt9ofd6j1 AT frascati DOT upc DOT de> <87oae0venj DOT fsf AT Rainer DOT invalid> <op DOT x9cf2njrofd6j1 AT frascati DOT upc DOT de> <87fuzcvdpv DOT fsf AT Rainer DOT invalid> <op DOT x9cghzy7ofd6j1 AT frascati DOT upc DOT de> <op DOT x9cgqf1pofd6j1 AT frascati DOT upc DOT de>
Date: Tue, 08 Dec 2015 22:59:01 +0100
MIME-Version: 1.0
From: "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de>
Message-ID: <op.x9ch0n1aofd6j1@frascati.upc.de>
In-Reply-To: <op.x9cgqf1pofd6j1@frascati.upc.de>
User-Agent: Opera Mail/12.17 (Win32)
Outgoingd: 0.4.0_m1
X-IsSubscribed: yes

Am 08.12.2015, 22:31 Uhr, schrieb Helmut Karlowski:

>>> Yes, but why is this a problem?  Note that bash will set it anyway if
>>> not present.
>
> All shells set it only when run as login-shell.

Wrong: Only bash gives it a value - ksh and dash export SHELL with no  
value if none present. And IMHO SHELL should not be /bin/bash by default.

-Helmut

--

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

- Raw text -


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