I don’t know where to write this so I’m writing here.
I’m building Linux Open Embedded/Yocto image version V2.7 for Colibri T20. It worked fine until I encountered error in configure phase of linux-toradex bitbake recipe (linux-toradex_git.bb).
Turns out recipe uses pushd and popd shell commands.
My distro of choice is Debian 8. Default shell on Debian is dash which don’t understand bash specific commands like popd or pushd.
I think if bitbake executes commands inside /bin/sh shell you shouldn’t assume that shell is bash.