Re: GNU locate looking into a non-existant tree
Re: GNU locate looking into a non-existant tree
- Subject: Re: GNU locate looking into a non-existant tree
- From: Mo McRoberts <email@hidden>
- Date: Sun, 16 May 2010 00:59:23 +0100
On 16-May-2010, at 00:55, John B Brown wrote:
> jbb@pinball3:~/gnu/build/findutils-4.4.2
> (28): % hash locate
> jbb@pinball3:~/gnu/build/findutils-4.4.2
> (29): % locate --version
> -bash: /usr/local/bin/locate: No such file or directory
> jbb@pinball3:~/gnu/build/findutils-4.4.2
> (30): % hash /usr/bin/locate
> jbb@pinball3:~/gnu/build/findutils-4.4.2
> (31): % locate --version
> -bash: /usr/local/bin/locate: No such file or directory
>
> Apparently that is not the source of the error.
In which case, you have an alias pointing at /usr/local/bin/locate. The error is quite definitely being produced by the shell itself. What does “type locate” say? Does a new terminal session work correctly? You’ve evidently got a customised profile, so I’d be looking there for the culprit.
M.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden