Re: make release abends with "*** Error code 1" SOLVED ERRATUM
David Laight <[email protected]>
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jan 22, 2007 at 01:27:33PM -0500, Woodchuck wrote: > On Mon, 22 Jan 2007, I, Woodchuck, wrote: > > > The first thing to do is bracket the interior of .kshrc with > > > > if [ -o interactive ]; then > > . /etc/ksh.kshrc > > <other stuffs> > > fi > > Alas, I thought I were done. This recommendation does not work > on NetBSD, because > if [ -o <some shell state> ] > is bogus. It is bogus because sh does not implement test/[ as > an internal, but has recourse to /bin/[. Wrong, [ is a shell builtin, but you can't test shell options that way as -o isn't a valid operator to test. You could (probably) look for 'i' in $- David -- David Laight: [email protected]