summaryrefslogtreecommitdiff
path: root/devel/svnkit/files/jsvnlook.sh.in
blob: 224d98cd2d489b0b1d56b32da1328a240ba87093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# $FreeBSD$

SVNKIT_HOME=${SVNKIT_HOME:-"%%DATADIR%%"}
SVNKIT_CP=${SVNKIT_HOME}/svnkit.jar:${SVNKIT_HOME}/svnkit-cli.jar:${SVNKIT_HOME}/trilead.jar:${SVNKIT_HOME}/jna.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.SVNLook "$@"