From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59023 invoked by alias); 8 Dec 2015 21:59:08 -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 58975 invoked by uid 89); 8 Dec 2015 21:59:07 -0000 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 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:59:07 +0000 Received: from submit.unitybox.de (mailout.ish.de [80.69.98.254]) (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 3pFb3F3nw4zBMc8Z for ; Tue, 8 Dec 2015 22:57:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by submit.unitybox.de (Postfix) with ESMTP id 3pFb4l5PRvz7t9p for ; Tue, 8 Dec 2015 22:59:03 +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 AO7SmTNyBAc0 for ; Tue, 8 Dec 2015 22:59:03 +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 3pFb4l38S1z7t93 for ; Tue, 8 Dec 2015 22:59:03 +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:59:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Helmut Karlowski" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.17 (Win32) Outgoingd: 0.4.0_m1 X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00113.txt.bz2 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