You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/07/30 22:17:56 UTC
git commit: dev/check-license wrap folders in quotes.
Repository: spark
Updated Branches:
refs/heads/master 2248891a4 -> 437dc8c5b
dev/check-license wrap folders in quotes.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/437dc8c5
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/437dc8c5
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/437dc8c5
Branch: refs/heads/master
Commit: 437dc8c5b54f0dcf9564c1fb07e8dce9e771c8cd
Parents: 2248891
Author: Reynold Xin <rx...@apache.org>
Authored: Wed Jul 30 13:17:14 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Wed Jul 30 13:17:49 2014 -0700
----------------------------------------------------------------------
dev/check-license | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/437dc8c5/dev/check-license
----------------------------------------------------------------------
diff --git a/dev/check-license b/dev/check-license
index 7a603bf..00bb20c 100755
--- a/dev/check-license
+++ b/dev/check-license
@@ -27,7 +27,7 @@ acquire_rat_jar () {
if [[ ! -f "$rat_jar" ]]; then
# Download rat launch jar if it hasn't been downloaded yet
- if [ ! -f ${JAR} ]; then
+ if [ ! -f "$JAR" ]; then
# Download
printf "Attempting to fetch rat\n"
JAR_DL=${JAR}.part
@@ -40,10 +40,10 @@ acquire_rat_jar () {
exit -1
fi
fi
- if [ ! -f ${JAR} ]; then
- # We failed to download
- printf "Our attempt to download rat locally to ${JAR} failed. Please install rat manually.\n"
- exit -1
+ if [ ! -f "$JAR" ]; then
+ # We failed to download
+ printf "Our attempt to download rat locally to ${JAR} failed. Please install rat manually.\n"
+ exit -1
fi
printf "Launching rat from ${JAR}\n"
fi