freebsd-ports/databases/squirrel-sql/files/squirrel-sql.in
Martin Wilke 37eaf5d0eb SQuirreL SQL Client is a graphical Java program that will allow you to view the
structure of a JDBC compliant database, browse the data in tables, issue SQL
commands etc.

WWW: http://www.squirrelsql.org/index.php?page=screenshots

PR:		ports/106230
Submitted by:	Roy Boerner <roy.boerner@bsd-crew.de>
2006-12-03 20:45:21 +00:00

17 lines
543 B
Bash

#! /bin/sh
# Squirrel home.
SQUIRREL_SQL_HOME=%%JAVASHAREDIR%%/squirrel-sql
# First entry in classpath is the Squirrel application.
TMP_CP=$SQUIRREL_SQL_HOME/squirrel-sql.jar
# Then add all library jars to the classpath.
for a in $SQUIRREL_SQL_HOME/lib/*; do
TMP_CP="$TMP_CP":"$a";
done
# Now add the system classpath to the classpath.
TMP_CP=$TMP_CP:$CLASSPATH
java -cp $TMP_CP net.sourceforge.squirrel_sql.client.Main --log-config-file $SQUIRREL_SQL_HOME/log4j.properties --squirrel-home $SQUIRREL_SQL_HOME $1 $2 $3 $4 $5 $6 $7 $8 $9