a startswith func that works for dash and bash

This commit is contained in:
Eric Evans 2012-08-10 10:33:12 -05:00
parent 80ea03f5e9
commit e243db4358
1 changed files with 1 additions and 1 deletions

View File

@ -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