delorie.com/archives/browse.cgi | search |
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:content-type:to:date:subject:mime-version:from | |
:message-id; q=dns; s=default; b=e7PMKY7eCnh3mB7sH8ICT3GeZw+fPVy | |
S6q2PxJYqmKbVDer0XR7/6AgfXz924mDVc+cBulf4ZN4D+eBu7W/GKRwQWNBhoNx | |
cwWeXuehFyALLlbPOXzIP/fRGKcwgThrdqfkgHos97ax2HRytA4jcVvgz9imd1fO | |
bll0yYr30F00= | |
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:content-type:to:date:subject:mime-version:from | |
:message-id; s=default; bh=Ml2q34hItUTw4MrpVK2H3U+qsnQ=; b=Ahm9k | |
cYa5sSOtHpYXsD/uFlauCCibA5PnTLYeJ8yWCNDQuDHR0h788SCPM7h/7msalcM6 | |
haPxgl8otUPjXRKMADBq3u46SwtjmYLLzFkifooRd1tkpV6dOkSAVf3cmPyozN+8 | |
FtuNDMd5EVeO9wVqs8m5vqlbwbKLe4pR74T4Oo= | |
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=-0.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | mailout.ish.de |
X-Abuse-ID: | hremUFXL0y-8240 AT umkbw DOT customer |
To: | cygwin AT cygwin DOT com |
Date: | Sun, 06 Dec 2015 23:47:12 +0100 |
Subject: | /etc/profile: avoid multiple /usr/bin in PATH |
MIME-Version: | 1.0 |
From: | "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de> |
Message-ID: | <op.x88uwyt9ofd6j1@frascati.upc.de> |
User-Agent: | Opera Mail/12.17 (Win32) |
Outgoingd: | 0.4.0_m1 |
X-IsSubscribed: | yes |
------------LdZsEX9iLn78S4jFZ3Rchk Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello, 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. It also sets SHELL if not yet set and avoids a call of hostname. Maybe the maintainer takes a look. -Helmut -- ------------LdZsEX9iLn78S4jFZ3Rchk Content-Disposition: attachment; filename=profile.diff Content-Type: application/octet-stream; name="profile.diff" Content-Transfer-Encoding: Base64 LS0tIGRlZmF1bHRzL2V0Yy9wcm9maWxlCTIwMTUtMDktMjYgMDk6NDU6MDIu MDAwMDAwMDAwICswMjAwCisrKyBwcm9maWxlCTIwMTUtMTItMDYgMjM6NDQ6 MzguNzE1NDAwMDAwICswMTAwCkBAIC01LDcgKzYsNyBAQAogIyB3aXRoIHRo aXMgc29mdHdhcmUuCiAjIElmIG5vdCwgc2VlIDxodHRwOi8vY3JlYXRpdmVj b21tb25zLm9yZy9wdWJsaWNkb21haW4vemVyby8xLjAvPi4KIAotIyBiYXNl LWZpbGVzIHZlcnNpb24gNC4yLTQKKyMgYmFzZS1maWxlcyB2ZXJzaW9uIDQu Mi0zCiAKICMgL2V0Yy9wcm9maWxlOiBleGVjdXRlZCBieSB0aGUgY29tbWFu ZCBpbnRlcnByZXRlciBmb3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RH1cblwwMzNbMzJtJHtVU0VSfUAke0hPU1ROQU1FfSBcMDMzWzMzbSR7UFdE LyR7SE9NRX0vfn1cMDMzWzBtXG4kICcpCiBlbGlmIFsgISAieCR7WlNIX1ZF UlNJT059IiA9ICJ4IiBdOyB0aGVuCiAgICMgenNoIGlzIGluIHNoZWxsIGNv bXBhdGliaWxpdHkgbW9kZSBoZXJlLCBzbyB3ZSBwcm9iYWJseSBzaG91bGRu J3QgZG8gdGhpcwpAQCAtMTUxLDMgKzE3MCw0IEBACiAKICMgZXhwb3J0IFBS T0ZJTEVSRUFEIFBBVEggT1JJR0lOQUxfUEFUSCBNQU5QQVRIIElORk9QQVRI IFVTRVIgVE1QIFRFTVAgUFJJTlRFUiBIT1NUTkFNRSBQUzEgU0hFTEwgdG1w IHRlbXAKIGV4cG9ydCBQUk9GSUxFUkVBRCBQQVRIIE9SSUdJTkFMX1BBVEgg SU5GT1BBVEggVVNFUiBUTVAgVEVNUCBQUklOVEVSIEhPU1ROQU1FIFBTMSBT SEVMTAorCg== ------------LdZsEX9iLn78S4jFZ3Rchk Content-Type: text/plain; charset=us-ascii -- 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 ------------LdZsEX9iLn78S4jFZ3Rchk--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |