summaryrefslogtreecommitdiff
path: root/devel/opengrok/files/opengrok.in
blob: f04341d29788009af480d5e43024c9227adc7023 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/csh
#
# $FreeBSD$

set JAVA = "%%LOCALBASE%%/bin/java"
set LIBFILES = "%%LIBFILES%%"
setenv JAVA_VERSION "%%JAVA_VERSION%%"

if ( "${LIBFILES}" != "" ) then
	set CLASSPATH = `echo ${LIBFILES} | sed -E -e 's,[[:space:]]+,:,g'`
else
	set CLASSPATH = ""
endif

exec "${JAVA}" -cp "${CLASSPATH}" -jar %%JARFILE%% -c %%LOCALBASE%%/bin/exctags $*