mirror of https://github.com/apache/cassandra
a startswith func that works for dash and bash
This commit is contained in:
parent
80ea03f5e9
commit
e243db4358
|
|
@ -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