www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4BF43867.3070908@redhat.com> |
Date: | Wed, 19 May 2010 13:13:43 -0600 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: bash - command - PATH question |
References: | <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F0B AT srv060ex01 DOT ssd DOT fsi DOT com> <4BF3FC7A DOT 8030705 AT bopp DOT net> <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F33 AT srv060ex01 DOT ssd DOT fsi DOT com> <ht102a$5fg$1 AT dough DOT gmane DOT org> <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F41 AT srv060ex01 DOT ssd DOT fsi DOT com> <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F57 AT srv060ex01 DOT ssd DOT fsi DOT com> <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F6F AT srv060ex01 DOT ssd DOT fsi DOT com> |
In-Reply-To: | <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F6F@srv060ex01.ssd.fsi.com> |
X-IsSubscribed: | yes |
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 |
--------------enigABF4BBE33C558B86A394911D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable [please don't top-post] On 05/19/2010 12:45 PM, Rockefeller, Harry wrote: > After more testing, where >=20 > "export PATH=3D$PATH:~/bin" only exists in .bash_login. >=20 > If I run 'foo' from my login directory it works. > If I then cd to a different place I get the error >=20 > bash: ./bin/foo: No such file or directory What does 'type foo' say? Is it hashed? What is $HOME? Could you accidentally have set home to a relative path, in which case ~ is relative instead of absolute? What does 'echo $PATH' say; are there any relative paths in that listing? --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigABF4BBE33C558B86A394911D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJL9DhwAAoJEKeha0olJ0NqKWcH+wWNfzzJ5ddGt2eYD4GiB4I2 zufWWTbHxSu5+T0fjOeycLYhO//RvypWc64cmo1u83N0QLPw3ANrgjGBRfPXaz4G DqgQ1peq8NnyluwmLU/2zubSWxo0N7+NSIN15/BoB8orqjI8i3qhX2kNohpAeAor KZJPwRFbXQNN9pHDpgj3HcI5dEsB1iMnvKWz5DB3Fo7gYA2EzQ5eK5u7bi1W9BO+ t2hgHdqMWV95rCfG7iGHsfiZlqcWFK4Yp/OJwJEt2QQjWk3m4kZ7SOfTSRyesxTX Xp6pr4R1a7MmAeyBAFCiu+SkZrROTjmYMa+H2UOTM7qTidUSL0QVlgQJET+TTYY= =XZOV -----END PGP SIGNATURE----- --------------enigABF4BBE33C558B86A394911D--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |