Per Ross Smith II:

The would work as well:

if [[ $PACKER_BUILDER_TYPE =~ vmware ]]; then
I've standardize on using [[ per

http://google-styleguide.googlecode.com/svn/trunk/shell.xml#Test,_%5B_and_%5B%5B

Has the advantage of being backwards-compatible with the old form