You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ja...@apache.org on 2014/06/16 23:31:29 UTC

[20/32] git commit: DRILL-974: Windows sqlline.bat - Correctly handle spaces in the path to the Drill directory. Previously, if Drill was on a path such as for example, C:\My Home Dir\Drill Work\apache-drill-1.0.0-m2-incubating-SNAPSHOT, then sqlline.bat

DRILL-974: Windows sqlline.bat - Correctly handle spaces in the path to the Drill directory. Previously, if Drill was on a path such as for example, C:\My Home Dir\Drill Work\apache-drill-1.0.0-m2-incubating-SNAPSHOT, then sqlline.bat would not correctly parse this path and be unable to start.

original fix by David Kewley ( dkewley@maprtech.com )


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/7821b51b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/7821b51b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/7821b51b

Branch: refs/heads/master
Commit: 7821b51bded2ed016d4926a280fb3638e767fc8c
Parents: ebe49ea
Author: Patrick Wong <pw...@maprtech.com>
Authored: Thu Jun 12 17:55:54 2014 +0000
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Mon Jun 16 12:44:06 2014 -0700

----------------------------------------------------------------------
 distribution/src/resources/sqlline.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/7821b51b/distribution/src/resources/sqlline.bat
----------------------------------------------------------------------
diff --git a/distribution/src/resources/sqlline.bat b/distribution/src/resources/sqlline.bat
index 0103541..dde4608 100755
--- a/distribution/src/resources/sqlline.bat
+++ b/distribution/src/resources/sqlline.bat
@@ -79,7 +79,7 @@ rem ----
 
 set DRILL_BIN_DIR=%~dp0
 pushd %DRILL_BIN_DIR%..
-set DRILL_HOME=%cd%
+set DRILL_HOME=^"%cd%^"
 popd
 
 if "test%DRILL_CONF_DIR%" == "test" (