alunizaje/android/tools/jdk-osx/bin/jmc
Andros Fenollosa 892d89c7f1 Order files
2016-11-12 12:27:08 +01:00

21 lines
405 B
Bash
Executable File

#!/bin/sh
#Resolve the full path to this script
RELDIR=$(dirname "$0")
pushd "$RELDIR" > /dev/null
JDKBINDIR=`pwd -P`
popd > /dev/null
RELDIR="$JDKBINDIR/../lib/missioncontrol/Java Mission Control.app/Contents/MacOS"
pushd "$RELDIR" > /dev/null
JMCAPPDIR=`pwd -P`
popd > /dev/null
# Escaping whitespace
JMCAPPDIR=$(echo $JMCAPPDIR | sed 's/ /\\ /g')
CMD="$JMCAPPDIR/jmc $*"
#echo $CMD
eval $CMD
exit