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 <[email protected]> Authored: Wed Jul 30 13:17:14 2014 -0700 Committer: Reynold Xin <[email protected]> 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
