delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/04/14:39:22

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=gZPHM
+L5b6y0EMr92E3imouyUQyXh2NvnDj5zqgTKZmnWEuxdeyrYtVm3gHMsf3R9YaMx
YijwIFHy24+pUrBkZrDyEb7036FxSq6fIT5P+CCt2WMQ4Gb2BEfaZQJHxEP6cUBu
1sjsFPqiHyUYucumBeHEqLBdAl1wOC+6SVI4Ig=
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=qHD6YHIeECx
Ssq32XFbH96gANB8=; b=uULjn0M/CZS6N2PRSsb38lIycbfAJspdEm/r58JH562
aJa8J0oeGN42dzIdqdDR3IINxF5bYhP6pZR8XZceAX3gmYSrK4rf/DrDIkW2nD+P
oowQk5643D/sKDwVTuMXem031yPm+EBJ/t4sy8sjVNs6Lfx2L3TOpRDXCebODQZ4
=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:CYGWIN_, karlowski, sk:cygwin_, helmut
X-HELO: mail-in-07.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3sRrLd4hHKz6grt
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH
References: <op DOT x88uwyt9ofd6j1 AT frascati DOT upc DOT de>
Date: Sun, 04 Sep 2016 13:32:25 +0200
In-Reply-To: <op.x88uwyt9ofd6j1@frascati.upc.de> (Helmut Karlowski's message of "Sun, 06 Dec 2015 23:47:12 +0100")
Message-ID: <87fupfsxx2.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0

Helmut Karlowski writes:
> I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile
> always adds /usr/bin to PATH resulting in /usr/bin being twice in my
> cygwin-PATH.
>
> The attached patch fixes this.

I've added the option to just use the already set-up PATH variable from
Windows for this use case.  Set CYGWIN_USEWINPATH before starting up.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019