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: 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.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 To: cygwin AT cygwin DOT com Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH References: Date: Sun, 04 Sep 2016 13:32:25 +0200 In-Reply-To: (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 Content-Type: text/plain 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