On Fri, 5 Nov 2010 08:01:00 -0800
Chaz Chandler <[email protected]> wrote:

> > Hmm, is there a way to just get buildbot to set the environment before
> > running the build steps?
> 
> I ran into this problem and ended up setting the preferred PATH
> explicitly in the rc startup script:
> 
> su - ${BB_USER} -c "PATH=${BB_PATH}; export PATH; cd $slave && $BUILDBOT $1 
> 1>&2 2>/dev/null"
> 
> In my case (IRIX), su uses a funky default path and doesn't always
> honor the /etc/profile or ~/.profile settings.  You may be
> experiencing something similar on AIX.

I would think that configuring this in Buildbot itself would be
easier... I don't know anything about setting these things up or running
them, but the buildbot documentation seems to suggest this is possible:
<http://buildbot.net/buildbot/docs/0.7.2/#ShellCommand>, see "env".

-- 
Andrew Deason
[email protected]

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to