[[ is missing for /bin/sh