If your cwd has been removed, pkg dies.  Here

    http://cr.opensolaris.org/~dduvall/pkg-bug2964/

is a fix I'd been sitting on for no particular reason.  Thoughts are
welcome on whether looking at $PWD as a last resort is too much of a
stretch.  ksh documents it as being set by the shell, and indeed, it and $_
are the only two environment variables initially set (and exported) by ksh.
Bourne shell doesn't, but it appears to be the only one.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to