mirror of https://github.com/apache/cassandra
a startswith func that works for dash and bash
Patch by eevans for CASSANDRA-4494
This commit is contained in:
parent
9fb63a2f93
commit
510689e3a4
|
|
@ -177,7 +177,7 @@ if [ "x$CASSANDRA_HEAPDUMP_DIR" != "x" ]; then
|
|||
fi
|
||||
|
||||
|
||||
startswith () [ "${1#$2}" != "$1" ]
|
||||
startswith() { [ "${1#$2}" != "$1" ]; }
|
||||
|
||||
if [ "`uname`" = "Linux" ] ; then
|
||||
# reduce the per-thread stack size to minimize the impact of Thrift
|
||||
|
|
|
|||
Loading…
Reference in New Issue