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

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=elDz3VFbn1Q8tzYTRRloLezNVTvmpJ
dG72tt+e9PqUjUc3lTbFpiF41pgKPej9UrQ3XeG5E2IkeJorQuAY6Jk4XpHb2JDD
5DDRJY3ufcJ0lM2+mnI+f8Xdg4FaYOi/utmQvYteo1gL65CEQrJyJfi+6dwDd2SR
TxNlP6s1hp6QY=
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=jLrzWayqckJwVv4yDJS81MvnWls=; b=nnt+
srElpH1mUpdmBBgaSOXjxZkbv8k58sTa9+usrxZo9OdibxV8nz+SfwE8Tn3t9LuY
zL8clkITl2SSqEHtzIToiib0046Yhm9vNIHW1/UbefB3ACFv8/lxfPXZ5dm3iSeQ
aa1iL7aftwlAp2L4IwLhSOC+tB1mPGvoHBvgsNg=
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=-0.1 required=5.0 tests=AWL,BAYES_05,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>
Date: Tue, 08 Dec 2015 22:26:13 +0100
MIME-Version: 1.0
From: "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de>
Message-ID: <op.x9cghzy7ofd6j1@frascati.upc.de>
In-Reply-To: <87fuzcvdpv.fsf@Rainer.invalid>
User-Agent: Opera Mail/12.17 (Win32)
Outgoingd: 0.4.0_m1
X-IsSubscribed: yes

Am 08.12.2015, 22:21 Uhr, schrieb Achim Gratz:

> Helmut Karlowski writes:
>>> Can you tell me in which circumstances this happens and why this is a
>>> problem?  SHELL is supposed to be the user preference, so I don't think
>>> /etc/profile should try to second-guess it.
>>
>> /etc/profile is run before ~/.profile, and if that does not set SHELL
>> there will be none.
>
> Yes, but why is this a problem?  Note that bash will set it anyway if
> not present.

There must have been one once, I don't remember. And I don't use bash:

881/etc$bash --version
aKSH v0.0.1, Dec  7 2015 (cygwin-1.7.35(0.287/5/3))

(selfmade).

-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