Ports foot-shooting revealed! (learning the hard way ...)
Tillman Hodgson
tillman at seekingfire.com
Mon Jan 31 14:18:48 PST 2005
On Mon, Jan 31, 2005 at 01:48:11PM -0800, Doug Barton wrote:
> On Mon, 31 Jan 2005, Tillman Hodgson wrote:
>
> ># cd /usr/pots/security/tor
> >bash: cd: usr/pots/security/tor: No such file or directory
>
> echo 'shopt -s cdspell' >> ~/.bashrc
Already in my ~/.bashrc for my user, but not for root[1]. Along with
bash-completion, portinstall, and a bunch of other things that I've been
emailed about off-list. I'm fairly familiar with my tools of choice ;-)
The problem isn't my less-than-glorious typing abilities[2], it's that
running `make install` from /usr/ports does something unexpected and
annoying. Note that I'm not asking for it to be "fixed" because I'm not
convinced that it's broken. It makes sense in hindsight, so there's an
argument that it's the correct thing to do. But it's unexpected and
potentially service interrupting (disks get full, etc).
So at the risk of turning this into a "learn how to type, you idiot"
discussion I wanted to get something into the archives so that other
folks would have awareness of it and perhaps consider workarounds like
`cd foo/bar && make install`, portinstall, cdspell, or whatever else
works for them.
-T
1. Yeah, su (or ksu in my case) would handle this, as would a whole raft
of other suggestions. That solves the _symptom_.
2. Well, yeah, it's a problem, but it's not the one I wanted to point
out ;-)
--
You cannot manipulate a marionette with only one string.
- The Zensunni Whip
More information about the freebsd-ports
mailing list