diff --git a/dev/check-license b/dev/check-license
index 7a603bf0180adbc7d435473e669f9510b6641221..00bb20c133b7d4295557c6de79a178d9f66f3b39 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