fix bash string comp

This commit is contained in:
Brandon Williams 2013-02-08 18:19:44 -06:00
parent 6bef66bce8
commit 0820b20fb2
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ JVM_OPTS="$JVM_OPTS -XX:SurvivorRatio=8"
JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThreshold=1"
JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75"
JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
if [ "$JVM_VERSION" \> "1.6.0" ]; then
# note: bash evals '1.7.x' as > '1.7' so this is really a >= 1.7 jvm check
if [ "$JVM_VERSION" \> "1.7" ] ; then
JVM_OPTS="$JVM_OPTS -XX:+UseCondCardMark"
fi