public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Helmut Karlowski" <helmut.karlowski@ish.de>
To: cygwin@cygwin.com
Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH
Date: Tue, 08 Dec 2015 21:26:00 -0000	[thread overview]
Message-ID: <op.x9cghzy7ofd6j1@frascati.upc.de> (raw)
In-Reply-To: <87fuzcvdpv.fsf@Rainer.invalid>

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

  reply	other threads:[~2015-12-08 21:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 22:47 Helmut Karlowski
2015-12-08 21:01 ` Achim Gratz
2015-12-08 21:17   ` Helmut Karlowski
2015-12-08 21:21     ` Achim Gratz
2015-12-08 21:26       ` Helmut Karlowski [this message]
2015-12-08 21:31         ` Helmut Karlowski
2015-12-08 21:59           ` Helmut Karlowski
2016-09-04 11:32 ` Achim Gratz
2016-09-05  4:08   ` Doug Henderson
2016-09-05 17:57     ` Achim Gratz
2016-09-05 18:13       ` Vince Rice
2016-09-05 19:07         ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.x9cghzy7ofd6j1@frascati.upc.de \
    --to=helmut.karlowski@ish.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).