PKGBUILDs/community/aqua-data-studio/datastudio.run
2009-10-09 21:15:33 -05:00

21 lines
442 B
Bash
Executable file

#!/bin/bash
ADS_HOME="`dirname $0`/../lib/datastudio"
for j in ${ADS_HOME}/lib/*.jar; do
export CLASSPATH="${j}:${CLASSPATH}"
done
unset j
if test x${JDBC_DIR} = x; then
JDBC_DIR="/usr/local/lib/jdbc"
fi
if test `ls ${JDBC_DIR}/*.jar 2>/dev/null | wc -l` != 0; then
for j in ${JDBC_DIR}/*.jar; do
export CLASSPATH=${j}:${CLASSPATH}
done
fi
unset j
exec java ${JAVA_OPTS} -cp "${CLASSPATH}" com.aquafold.datastudio.DataStudio