1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/svnkit/files/jsvnlook.sh.in
Martin Wilke 99c5571b43 - Update to 1.1.4
PR:		115016
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
2007-08-02 11:47:10 +00:00

18 lines
520 B
Bash

#!/bin/sh
#
# $FreeBSD$
SVNKIT_HOME=${SVNKIT_HOME:-"%%DATADIR%%"}
SVNKIT_CP=${SVNKIT_HOME}/svnkit.jar:${SVNKIT_HOME}/svnkit-cli.jar:${SVNKIT_HOME}/ganymed.jar
SVNKIT_LOGDIR=${SVNKIT_LOGDIR:-"${HOME}/.svnkit"}
if [ ! -d ${SVNKIT_LOGDIR} ]; then
mkdir ${SVNKIT_LOGDIR}
fi
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" \
${SVNKIT_OPTS} \
-Djava.util.logging.config.file="${SVNKIT_HOME}/logging.properties" \
-cp "${SVNKIT_CP}" \
org.tmatesoft.svn.cli.SVNLook "$@"