Make bash script syntax more consistent

Signed-off-by: David Julia <djulia@pivotal.io>