On Sat, May 03, 2008 at 11:44:03AM +0200, Juan Pablo Aroztegi wrote:
/var/tmp/portage/sys-devel/bc-1.06-r6/temp/environment: line 1: *=urxvt: command not found
It seems like something does env >$temp/environment; . $temp/environment.Really, this is a bug in their code. Unfortunately, there's no way to unset an envorinment variable in rc (Yes, it's lame. Complane to Tom, if you'd like, but it won't help). I could always switch to the Unix rc port, and earn the neverending ire of some Plan 9 folks, though.
/usr/lib/portage/bin/ebuild.sh: line 1658: /bin/sort: Argument list too long /usr/lib/portage/bin/ebuild.sh: line 1658: /bin/tr: Argument list too long /usr/lib/portage/bin/misc-functions.sh: line 433: /usr/bin/find:
These are because rc stores functions in its environment. I'll add code to wi_runcmd to unset them; you're not the first to have this trouble.
Something like:
fn `{env | sed -n 's/^fn#([^=]+).*/\1/p'}
Or, you could use zsh, which automagically strips environment
variables that it doesn't like.
-- Kris Maglione You don't have to be crazy to work here but it sure helps!!!!!!! PGP: http://suckless.org/~jg/pubkey.pgp SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
pgpD0HfZbr7yO.pgp
Description: PGP signature
