2009-08-23 19:13:42 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
2019-07-23 13:06:09 +00:00
|
|
|
thisdir=$(dirname $0)
|
|
|
|
basedir=$(cd $thisdir/.. || exit; pwd)
|
|
|
|
|
|
|
|
ulimit_max=`ulimit -H -n`
|
|
|
|
if [ $ulimit_max != "unlimited" ]; then
|
|
|
|
ulimit -n $ulimit_max
|
|
|
|
fi
|
2009-08-23 19:13:42 +00:00
|
|
|
|
|
|
|
# set the classpath
|
2019-07-23 13:06:09 +00:00
|
|
|
for i in "$basedir"/lib/*.jar "$basedir"/lib/*.zip "$basedir"/build/libs/*.jar; do
|
|
|
|
if ! [ -f $i ]; then continue; fi
|
|
|
|
if [ -z "$CLASSPATH" ]; then
|
|
|
|
CLASSPATH=$i
|
|
|
|
else
|
|
|
|
CLASSPATH="$CLASSPATH":"$i"
|
|
|
|
fi
|
2009-08-23 19:13:42 +00:00
|
|
|
done
|
|
|
|
export CLASSPATH
|
|
|
|
|
|
|
|
exec java com.verisignlabs.dnssec.cl.SignKeyset "$@"
|