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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=tyYl5 +i2wvY4CZ6RaL7ax222XYwzrYPGqEZt8/BsWp/xEbE+nwG5uH1lpmMpEgN5va2I8 QvOdOSNaS5t+jVTmzGwcK0K+3hmAXXmodHl39x5yAoOi5HWUR3m26iUo9FOh5cEf fah1GutQJ9iHgDMmBSBm4F9VFAewrxVKjLtiEA= 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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=g/ll6YbGdh1 MKhUyo/ogKqS8IxQ=; b=P6tfmUXJ/y71NpAyFThdgwp3cLHmWdotW//sxSyN5MF QFsA+04RI62P29+pHbjm7bEWxrMioY+ESaakLUPKzmtruVL9zHb1pRJPxptDsYXN zc2qZt8jUo4WsneCmDXdURIVSaVycisvHL46GSYSIqkoMhVEbwbstH+caZzevt8Y = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3pFZF90x2Xz2xJ3 From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH References: <87oae0venj DOT fsf AT Rainer DOT invalid> Date: Tue, 08 Dec 2015 22:21:16 +0100 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 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