#!/bin/sh

# figure out canonical paths
CUR_DIR="${0%/*}"
IDL_DIR=`dirname $(cd -P "$CUR_DIR/../../../.." && pwd -P)` 
BIN_DIR="$IDL_DIR/bin/bin.darwin.i386"

# prepare the application's args (no spaces in args!) 
args[0]=IDLHelp 
args[1]="$IDL_DIR/help/online_help/IDL/idl_CSH.html"
args[2]=0

# run the actual app
exec $BIN_DIR/ITTVISHelp.app/Contents/MacOS/ITTVISHelp ${args[*]}

