You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2015/03/10 21:09:04 UTC

accumulo git commit: ACCUMULO-3655 Perform numeric comparison instead of string comparison

Repository: accumulo
Updated Branches:
  refs/heads/master 9f108c039 -> 2157b9fc4


ACCUMULO-3655 Perform numeric comparison instead of string comparison


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/2157b9fc
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/2157b9fc
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/2157b9fc

Branch: refs/heads/master
Commit: 2157b9fc4bfe363dfcbf89ebb1aceef018080f99
Parents: 9f108c0
Author: Josh Elser <el...@apache.org>
Authored: Tue Mar 10 16:02:13 2015 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Tue Mar 10 16:02:13 2015 -0400

----------------------------------------------------------------------
 assemble/bin/tool.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/2157b9fc/assemble/bin/tool.sh
----------------------------------------------------------------------
diff --git a/assemble/bin/tool.sh b/assemble/bin/tool.sh
index de1d608..1772e2f 100755
--- a/assemble/bin/tool.sh
+++ b/assemble/bin/tool.sh
@@ -37,7 +37,7 @@ if [[ -z "$ZOOKEEPER_HOME" ]] ; then
 fi
 
 ZOOKEEPER_CMD='ls -1 $ZOOKEEPER_HOME/zookeeper-[0-9]*[^csn].jar '
-if [[ $(eval $ZOOKEEPER_CMD | wc -l) != "1" ]] ; then
+if [[ $(eval $ZOOKEEPER_CMD | wc -l) -ne 1 ]] ; then
    echo "Not exactly one zookeeper jar in $ZOOKEEPER_HOME"
    exit 1
 fi