accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject accumulo git commit: ACCUMULO-3655 Perform numeric comparison instead of string comparison
Date Tue, 10 Mar 2015 20:09:04 GMT
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 <elserj@apache.org>
Authored: Tue Mar 10 16:02:13 2015 -0400
Committer: Josh Elser <elserj@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


Mime
View raw message