Add MinGW uname check to start scripts

patch by Amichai Rothman; reviewed by jasobrown for CASSANDRA-12940


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

Branch: refs/heads/cassandra-3.11
Commit: 91e83c72de109521074b14a8eeae1309c3b1f215
Parents: c231ed5
Author: Amichai Rothman <amich...@amichais.net>
Authored: Mon Feb 12 05:04:55 2018 -0800
Committer: Jason Brown <jasedbr...@gmail.com>
Committed: Mon Feb 12 05:07:58 2018 -0800

----------------------------------------------------------------------
 CHANGES.txt   | 1 +
 bin/cassandra | 2 +-
 bin/debug-cql | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/91e83c72/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index a492c42..197ba58 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.0.16
+ * Add MinGW uname check to start scripts (CASSANDRA-12940)
  * Protect against overflow of local expiration time (CASSANDRA-14092)
  * Use the correct digest file and reload sstable metadata in nodetool verify 
(CASSANDRA-14217)
  * Handle failure when mutating repaired status in Verifier (CASSANDRA-13933)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/91e83c72/bin/cassandra
----------------------------------------------------------------------
diff --git a/bin/cassandra b/bin/cassandra
index 95ab4c0..8264d88 100755
--- a/bin/cassandra
+++ b/bin/cassandra
@@ -127,7 +127,7 @@ fi
 
 # Special-case path variables.
 case "`uname`" in
-    CYGWIN*) 
+    CYGWIN*|MINGW*) 
         CLASSPATH=`cygpath -p -w "$CLASSPATH"`
         CASSANDRA_CONF=`cygpath -p -w "$CASSANDRA_CONF"`
     ;;

http://git-wip-us.apache.org/repos/asf/cassandra/blob/91e83c72/bin/debug-cql
----------------------------------------------------------------------
diff --git a/bin/debug-cql b/bin/debug-cql
index ae9bfe4..00d4093 100755
--- a/bin/debug-cql
+++ b/bin/debug-cql
@@ -50,7 +50,7 @@ fi
 
 # Special-case path variables.
 case "`uname`" in
-    CYGWIN*) 
+    CYGWIN*|MINGW*) 
         CLASSPATH="`cygpath -p -w "$CLASSPATH"`"
         CASSANDRA_CONF="`cygpath -p -w "$CASSANDRA_CONF"`"
     ;;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to