From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92520 invoked by alias); 8 Dec 2015 21:21:22 -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 92511 invoked by uid 89); 8 Dec 2015 21:21:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-13.arcor-online.net Received: from mail-in-13.arcor-online.net (HELO mail-in-13.arcor-online.net) (151.189.21.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 08 Dec 2015 21:21:20 +0000 Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mx.arcor.de (Postfix) with ESMTP id 3pFZF91twfz322n for ; Tue, 8 Dec 2015 22:21:17 +0100 (CET) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 3E244563A01 for ; Tue, 8 Dec 2015 22:21:17 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3pFZF90x2Xz2xJ3 Received: from Gertrud (p54B46FE3.dip0.t-ipconnect.de [84.180.111.227]) (Authenticated sender: stromeko@arcor.de) by mail-in-05.arcor-online.net (Postfix) with ESMTPSA id 3pFZF90x2Xz2xJ3 for ; Tue, 8 Dec 2015 22:21:17 +0100 (CET) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH References: <87oae0venj.fsf@Rainer.invalid> Date: Tue, 08 Dec 2015 21:21:00 -0000 In-Reply-To: (Helmut Karlowski's message of "Tue, 08 Dec 2015 22:17:01 +0100") Message-ID: <87fuzcvdpv.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-12/txt/msg00109.txt.bz2 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- 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