use double braces and bash from Makefile
Merge pull request #51 from erdc-cm/garnet_port_final

use double braces and bash from Makefile