#/usr/bin/env bash

STR=`grunt`;
SUB='test-template.cfm';

if [[ "$STR" =~ .*"$SUB".* ]]; then
	echo "[GRUNT] test passed - '$SUB' found in '$STR'";
else
	echo "[GRUNT] test failed - '$SUB' not found in '$STR'";
	exit 1;
fi

#!/bin/bash

STR=`grunt`;
SUB='test-template.cfm';

if [[ "$STR" =~ .*"$SUB".* ]]; then
	echo "[GRUNT] test passed - '$SUB' found in '$STR'";
else
	echo "[GRUNT] test failed - '$SUB' not found in '$STR'";
	exit 1;
fi

Use /bin/bash with fixed shebang
Use /bin/bash with fixed shebang
