Switch to using bash for required shell syntax

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>