[distcc] Re: Announcing distccKNOPPIX

Martin Pool mbp at samba.org
Thu Jul 17 05:27:30 GMT 2003


On  8 Jul 2003, Alexandre Oliva <oliva at lsd.ic.unicamp.br> wrote:

> >> ~/.distcc/env?
> 
> > What about ~/.ssh/environment?
> 
> It's not a real shell script.  You can't check `hostname` to decide
> how to set the PATH, for example, which renders it pretty much useless
> for home directories shared among machines with different
> architectures, OSs or any other form of incompatibility.

I just realized a pretty clean way to do this:

  DISTCC_HOSTS='@titan:/home/mbp/bin/fake-distccd'

where fake-distccd is 

  #! /bin/sh
  PATH=/foo:/var exec /usr/local/bin/distccd "$@"

Should there be an environment variable to set the default remote
server path for ssh, rather than putting it on every hostspec?  Or is
that needless fluff?

-- 
Martin 



More information about the distcc mailing list