[COOK-3638] Do not use bashisms

Signed-off-by: Seth Vargo <sethvargo@gmail.com>