Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E56410B2B for ; Tue, 24 Sep 2013 16:17:10 +0000 (UTC) Received: (qmail 15543 invoked by uid 500); 24 Sep 2013 16:17:08 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 15413 invoked by uid 500); 24 Sep 2013 16:17:08 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 15381 invoked by uid 99); 24 Sep 2013 16:17:06 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 16:17:06 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 448DD9089D6; Tue, 24 Sep 2013 16:17:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ecn@apache.org To: commits@accumulo.apache.org Date: Tue, 24 Sep 2013 16:17:07 -0000 Message-Id: <7e17217bf87c452b9b7e25b3fc65410f@git.apache.org> In-Reply-To: <4de88405be3e44d09a055090d2f11d21@git.apache.org> References: <4de88405be3e44d09a055090d2f11d21@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] git commit: Skip attempt at JAR classpath scan if JAR missing. Skip attempt at JAR classpath scan if JAR missing. Signed-off-by: Eric Newton 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 Authored: Tue Sep 24 11:59:35 2013 -0400 Committer: Eric Newton 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"