prepare.sh fix for dash