This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /etc/profile: avoid multiple /usr/bin in PATH
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Sun, 04 Sep 2016 13:32:25 +0200
- Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH
- Authentication-results: sourceware.org; auth=none
- References: <op.x88uwyt9ofd6j1@frascati.upc.de>
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