This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash - command - PATH question


[please don't top-post]

On 05/19/2010 12:45 PM, Rockefeller, Harry wrote:
> After more testing, where
> 
> "export PATH=$PATH:~/bin" only exists in .bash_login.
> 
> If I run 'foo' from my login directory it works.
> If I then cd to a different place I get the error
> 
> 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?

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]