cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject git commit: Fix stop-server.bat with space in directory name.
Date Thu, 02 Oct 2014 19:30:27 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 c4c56fa66 -> cb8dc4eac


Fix stop-server.bat with space in directory name.

Patch by Josh McKenzie, reviewed by Philip Thompson for CASSANDRA-8044


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/cb8dc4ea
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/cb8dc4ea
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/cb8dc4ea

Branch: refs/heads/cassandra-2.1
Commit: cb8dc4eac0904c51ceecef07282624869e7a5ac3
Parents: c4c56fa
Author: Joshua McKenzie <josh.mckenzie@datastax.com>
Authored: Thu Oct 2 14:28:11 2014 -0500
Committer: Joshua McKenzie <josh.mckenzie@datastax.com>
Committed: Thu Oct 2 14:28:11 2014 -0500

----------------------------------------------------------------------
 bin/stop-server.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cb8dc4ea/bin/stop-server.bat
----------------------------------------------------------------------
diff --git a/bin/stop-server.bat b/bin/stop-server.bat
index 616c48c..66a55fd 100644
--- a/bin/stop-server.bat
+++ b/bin/stop-server.bat
@@ -38,7 +38,7 @@ FOR /F "tokens=2 delims= " %%A IN ('TASKLIST /FI ^"WINDOWTITLE eq %rand%^"
/NH')
 
 REM Start with /B -> the control+c event we generate in stop-server.ps1 percolates
 REM up and hits this external batch file if we call powershell directly.
-start /B powershell /file %CASSANDRA_HOME%/bin/stop-server.ps1 -batchpid %PID% %*
+start /B powershell /file "%CASSANDRA_HOME%/bin/stop-server.ps1" -batchpid %PID% %*
 goto finally
 
 REM -----------------------------------------------------------------------------


Mime
View raw message