Ticket #179 (closed defect: fixed)
buildbot shows wrong $PWD in environment variables
| Reported by: | slinkp | Owned by: | dustin |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7.10 |
| Version: | 0.7.6 | Keywords: | |
| Cc: | dustin |
Description
The web display for buildbot steps shows all environment variables including $PWD. The $PWD shown does not match the "in dir" shown before the environment variables. This is confusing.
I spent a long time wondering why my shell commands were failing with "No such file or directory", because I believed the displayed $PWD and didn't notice the "in dir" up top.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)

I've noticed this too. Probably the best option is just to set $PWD when changing to the build directory, so that it indicates the actual PWD. Want to write up a patch?