Revert "make minimize.sh work on solaris"

This reverts commit f16a6e6c3ac282bf44b62f3fa14e577e6a57c584.
create separate minimze.sh for solaris due to ksh
add mirror variable. with comments.