work around the ulimit behavior on mac os X
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@177 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
This commit is contained in:
parent
ca9bee9d49
commit
f09d75453c
@ -3,7 +3,10 @@
|
|||||||
thisdir=`dirname $0`
|
thisdir=`dirname $0`
|
||||||
basedir=`cd $thisdir/..; pwd`
|
basedir=`cd $thisdir/..; pwd`
|
||||||
|
|
||||||
ulimit -n `ulimit -H -n`
|
ulimit_max=`ulimit -H -n`
|
||||||
|
if [ $ulimit_max != "unlimited" ]; then
|
||||||
|
ulimit -n $ulimit_max
|
||||||
|
fi
|
||||||
|
|
||||||
# set the classpath
|
# set the classpath
|
||||||
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
#! /bin/sh
|
f#! /bin/sh
|
||||||
|
|
||||||
thisdir=`dirname $0`
|
thisdir=`dirname $0`
|
||||||
basedir=`cd $thisdir/..; pwd`
|
basedir=`cd $thisdir/..; pwd`
|
||||||
|
|
||||||
ulimit -n `ulimit -H -n`
|
ulimit_max=`ulimit -H -n`
|
||||||
|
if [ $ulimit_max != "unlimited" ]; then
|
||||||
|
ulimit -n $ulimit_max
|
||||||
|
fi
|
||||||
|
|
||||||
# set the classpath
|
# set the classpath
|
||||||
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
||||||
|
@ -3,7 +3,10 @@
|
|||||||
thisdir=`dirname $0`
|
thisdir=`dirname $0`
|
||||||
basedir=`cd $thisdir/..; pwd`
|
basedir=`cd $thisdir/..; pwd`
|
||||||
|
|
||||||
ulimit -n `ulimit -H -n`
|
ulimit_max=`ulimit -H -n`
|
||||||
|
if [ $ulimit_max != "unlimited" ]; then
|
||||||
|
ulimit -n $ulimit_max
|
||||||
|
fi
|
||||||
|
|
||||||
# set the classpath
|
# set the classpath
|
||||||
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
||||||
|
@ -3,7 +3,10 @@
|
|||||||
thisdir=`dirname $0`
|
thisdir=`dirname $0`
|
||||||
basedir=`cd $thisdir/..; pwd`
|
basedir=`cd $thisdir/..; pwd`
|
||||||
|
|
||||||
ulimit -n `ulimit -H -n`
|
ulimit_max=`ulimit -H -n`
|
||||||
|
if [ $ulimit_max != "unlimited" ]; then
|
||||||
|
ulimit -n $ulimit_max
|
||||||
|
fi
|
||||||
|
|
||||||
# set the classpath
|
# set the classpath
|
||||||
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
||||||
|
@ -3,7 +3,10 @@
|
|||||||
thisdir=`dirname $0`
|
thisdir=`dirname $0`
|
||||||
basedir=`cd $thisdir/..; pwd`
|
basedir=`cd $thisdir/..; pwd`
|
||||||
|
|
||||||
ulimit -n `ulimit -H -n`
|
ulimit_max=`ulimit -H -n`
|
||||||
|
if [ $ulimit_max != "unlimited" ]; then
|
||||||
|
ulimit -n $ulimit_max
|
||||||
|
fi
|
||||||
|
|
||||||
# set the classpath
|
# set the classpath
|
||||||
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
for i in $basedir/lib/*.jar $basedir/lib/*.zip $basedir/build/lib/*.jar; do
|
||||||
|
Loading…
Reference in New Issue
Block a user