1#!/bin/sh 2 3BASEDIR="`dirname "$0"`" 4if [ $? -ne 0 ]; then 5 echo "WARNING: No dirname utility found!" 6 echo " Script will only work if invoked from its parent directory." 7 BASEDIR="." 8fi 9 10LIB="${BASEDIR}/dist/lib" 11 12java -cp "${BASEDIR}/targets/jparted/lib/jparted.jar":"${LIB}/hfsx_dmglib.jar":"${LIB}/swing-layout-1.0.4.jar":"${LIB}/apache-ant-1.7.0-bzip2.jar":"${LIB}/iharder-base64.jar":"${LIB}/catacombae_io.jar" org.catacombae.jparted.app.Main "$@" 13