Merge "Omaha #3675 remove explicitly declaring vm to make alertviz.sh more closely match cave.sh" into omaha_14.4.1

Former-commit-id: b544abb498 [formerly baec32be20] [formerly b544abb498 [formerly baec32be20] [formerly 23c5ea21e4 [formerly 73be758f4ae461539c4a622cf52b7bc73705fc50]]]
Former-commit-id: 23c5ea21e4
Former-commit-id: 3941281bb0 [formerly 88afde5dfa]
Former-commit-id: fe4e43d8d3
This commit is contained in:
Nate Jensen 2014-10-06 09:07:37 -05:00 committed by Gerrit Code Review
commit f623152a9c

View file

@ -78,12 +78,6 @@ if [ ! -d $LOGDIR ]; then
mkdir -p $LOGDIR mkdir -p $LOGDIR
fi fi
# Special instructions for the 64-bit jvm.
ARCH_ARGS=""
if [ -f /awips2/java/jre/lib/amd64/server/libjvm.so ]; then
ARCH_ARGS="-vm /awips2/java/jre/lib/amd64/server/libjvm.so"
fi
#run a loop for alertviz #run a loop for alertviz
count=0 count=0
while [ $exitVal -ne 0 -a $count -lt 10 ] while [ $exitVal -ne 0 -a $count -lt 10 ]
@ -105,9 +99,9 @@ do
else else
#finally check if we can write to the file #finally check if we can write to the file
if [ -w ${LOGFILE} ]; then if [ -w ${LOGFILE} ]; then
${dir}/alertviz ${ARCH_ARGS} $* > ${LOGFILE} 2>&1 ${dir}/alertviz $* > ${LOGFILE} 2>&1
else else
${dir}/alertviz ${ARCH_ARGS} $* ${dir}/alertviz $*
fi fi
fi fi
exitVal=$? exitVal=$?