jmc 405 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. #Resolve the full path to this script
  3. RELDIR=$(dirname "$0")
  4. pushd "$RELDIR" > /dev/null
  5. JDKBINDIR=`pwd -P`
  6. popd > /dev/null
  7. RELDIR="$JDKBINDIR/../lib/missioncontrol/Java Mission Control.app/Contents/MacOS"
  8. pushd "$RELDIR" > /dev/null
  9. JMCAPPDIR=`pwd -P`
  10. popd > /dev/null
  11. # Escaping whitespace
  12. JMCAPPDIR=$(echo $JMCAPPDIR | sed 's/ /\\ /g')
  13. CMD="$JMCAPPDIR/jmc $*"
  14. #echo $CMD
  15. eval $CMD
  16. exit