summaryrefslogtreecommitdiff
path: root/cad/electric-ng/files/electric-ng.in
blob: 8a60831ec501ac203a2c0eb420711d803549126c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/csh
#
# $MBSDlabs$
# $FreeBSD$

set JAVA = "%%LOCALBASE%%/bin/java"
set LIBFILES = "%%LIBFILES%%"
set JARPATH = "%%JAVALIBDIR%%"

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

exec "${JAVA}" -cp %%JAVAJARDIR%%/%%JARFILE%%"${CLASSPATH}" com.sun.electric.Launcher