1 #!/bin/bash 2 3 PLATFORM=`bash whichplatform.sh` 4 APP="" 5 6 if [[ $PLATFORM == 'WIN' ]]; then 7 APP="Test.exe" 8 elif [[ $PLATFORM == "MAC" ]]; then 9 APP="Test.app" 10 elif [[ $PLATFORM == 'LINUX' ]]; then 11 APP="Test" 12 fi 13 14 bash execall.sh $APP