accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [2/3] git commit: Skip attempt at JAR classpath scan if JAR missing.
Date Tue, 24 Sep 2013 16:17:07 GMT
Skip attempt at JAR classpath scan if JAR missing.

Signed-off-by: Eric Newton <eric.newton@gmail.com>


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

Branch: refs/heads/master
Commit: 311407e268a197219490aa3d7d9cc0b95dffdde6
Parents: ccc46b0
Author: Bill Havanki <bhavanki@cloudera.com>
Authored: Tue Sep 24 11:59:35 2013 -0400
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Tue Sep 24 12:13:52 2013 -0400

----------------------------------------------------------------------
 bin/accumulo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/311407e2/bin/accumulo
----------------------------------------------------------------------
diff --git a/bin/accumulo b/bin/accumulo
index 8e1128a..37b9a43 100755
--- a/bin/accumulo
+++ b/bin/accumulo
@@ -67,7 +67,7 @@ if [ "$1" = "-add" ] ; then
 else
     export ACCUMULO_XTRAJARS=""
 fi
-if [ "$1" = "jar" ] ; then
+if [ "$1" = "jar" -a -f "$2" ] ; then
     if [[ $2 =~ ^/ ]]; then
       jardir="$(dirname "$2")"
       jarfile="$2"


Mime
View raw message