bashisms: merge a few changes from mk_mmc.sh

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
bashism fixes

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
prep for release

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>