From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111337 invoked by alias); 8 Dec 2015 21:26:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 111324 invoked by uid 89); 8 Dec 2015 21:26:20 -0000 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 Received: from mailout.ish.de (HELO mailout.ish.de) (80.69.98.251) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 08 Dec 2015 21:26:19 +0000 Received: from submit.unitybox.de (mailout.ish.de [80.69.98.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.ish.de (Postfix) with ESMTPS id 3pFZKP3862zBMc9s for ; Tue, 8 Dec 2015 22:24:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by submit.unitybox.de (Postfix) with ESMTP id 3pFZLv3fbFz6dtBv for ; Tue, 8 Dec 2015 22:26:15 +0100 (CET) Received: from submit.unitybox.de ([127.0.0.1]) by localhost (submit.unitybox.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZHxSVGxA2g3k for ; Tue, 8 Dec 2015 22:26:15 +0100 (CET) X-Abuse-ID: hremUFXL0y-8240@umkbw.customer Received: from frascati.upc.de (unknown [5.147.52.203]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submit.unitybox.de (Postfix) with ESMTPSA id 3pFZLv1WvNz6dtBc for ; Tue, 8 Dec 2015 22:26:14 +0100 (CET) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: cygwin@cygwin.com Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH References: <87oae0venj.fsf@Rainer.invalid> <87fuzcvdpv.fsf@Rainer.invalid> Date: Tue, 08 Dec 2015 21:26:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Helmut Karlowski" Message-ID: In-Reply-To: <87fuzcvdpv.fsf@Rainer.invalid> User-Agent: Opera Mail/12.17 (Win32) Outgoingd: 0.4.0_m1 X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00110.txt.bz2 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