cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject git commit: Fix typo in jvm version comparison.
Date Wed, 01 Aug 2012 21:36:31 GMT
Updated Branches:
  refs/heads/cassandra-1.1 988c4132d -> 94bcc6a6f


Fix typo in jvm version comparison.


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/94bcc6a6
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/94bcc6a6
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/94bcc6a6

Branch: refs/heads/cassandra-1.1
Commit: 94bcc6a6f6171796e3147dec73d71df05c370f94
Parents: 988c413
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Wed Aug 1 16:36:04 2012 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Wed Aug 1 16:36:04 2012 -0500

----------------------------------------------------------------------
 conf/cassandra-env.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/94bcc6a6/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index 3370a3c..2928018 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -149,7 +149,7 @@ JMX_PORT="7199"
 JVM_OPTS="$JVM_OPTS -ea"
 
 # add the jamm javaagent
-if [ "$JVM_VENDOR" != "OpenJDK" -o "$JVM_VERSION" > "1.6.0" ] \
+if [ "$JVM_VENDOR" != "OpenJDK" -o "$JVM_VERSION" \> "1.6.0" ] \
       || [ "$JVM_VERSION" = "1.6.0" -a "$JVM_PATCH_VERSION" -ge 23 ]
 then
     JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jamm-0.2.5.jar"


Mime
View raw message