Fixed syntax to be compatible with /bin/sh