The script will die and not proceed with the creation of the directory.
This scripts use bashisms, so use /bin/bash as the interpreter until they are un-bashified.