Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 12:44:28 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Sean Murphy <smurphy@calarts.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Shell PATH not being reread
Message-ID:  <461E6FFC.4070806@daleco.biz>
In-Reply-To: <461E6C79.9070107@calarts.edu>
References:  <461E6C79.9070107@calarts.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Murphy wrote:
> I have just installed FreeBSD 6.2 Release.  I su to root and run
> 
> pkg_add -r cvsup-without-gui
> 
> It installed fine
> 
> I edited the ports-supfile
> cd /usr/share/examples/cvsup
> vi ports-supfile
> 
> but when I go to run
> 
> cvsup -g -L 2 ports-supfile
> 
> It tells me it cannot find the command

FAQ, I think.  For csh/tcsh, issue "rehash":

# portinstall myfooport
# myfooport
myfooport:  Command not found
# rehash
# myfooport  --version
Welcome to myfooport v0.0.0!

If you are indeed having this problem with /bin/sh,
I'm not at all sure why, as I think it rereads the
executables in $PATH fairly continuously (but then,
I hardly use it for interactive use).  A brief test
here didn't show evidence that this would be a problem
for sh, though.

HTH,

Kevin Kinsey
-- 
Nobody wants constructive criticism.
It's all we can do to put up with constructive praise.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461E6FFC.4070806>