call bash as bash so [[ works
call bash as bash so [[ works

Bash features are unavailable when bash is invoked as /bin/sh 
Alternative would be to make the script more sh compatible, but doubt that's necessary.
http://wiki.bash-hackers.org/scripting/bashbehaviour
postmodern/chgems,postmodern/chgems