Do all the bash crap first.

Signed-off-by: Thiago Farina <tfarina@chromium.org>