#!/bin/csh # # $FreeBSD: head/devel/opengrok/files/opengrok.in 370625 2014-10-11 07:28:56Z marino $ 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 -w opengrok $*