Fixes parse error on the bash hook when evaluated on a single line.