2010-02-18 03:35:53 +00:00
|
|
|
#! /bin/sh
|
2005-08-13 23:18:03 +00:00
|
|
|
|
|
|
|
thisdir=`dirname $0`
|
|
|
|
basedir=`cd $thisdir/..; pwd`
|
|
|
|
|
2009-09-19 20:21:48 +00:00
|
|
|
ulimit_max=`ulimit -H -n`
|
|
|
|
if [ $ulimit_max != "unlimited" ]; then
|
|
|
|
ulimit -n $ulimit_max
|
|
|
|
fi
|
2005-08-13 23:18:03 +00:00
|
|
|
|
|
|
|
# set the classpath
|
2018-07-15 17:08:29 +00:00
|
|
|
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/libs/*.jar; do
|
2005-08-13 23:18:03 +00:00
|
|
|
CLASSPATH="$CLASSPATH":"$i"
|
|
|
|
done
|
|
|
|
export CLASSPATH
|
|
|
|
|
|
|
|
exec java com.verisignlabs.dnssec.cl.KeyGen "$@"
|