mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-23 23:50:28 -06:00
11 lines
295 B
Bash
Executable File
11 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
MYSELF=`which "$0" 2>/dev/null`
|
|
[ $? -gt 0 -a -f "$0" ] && MYSELF="./$0"
|
|
java=java
|
|
if test -n "$JAVA_HOME"; then
|
|
java="$JAVA_HOME/bin/java"
|
|
fi
|
|
#printf "java='%s' java_args='%s' MYSELF='%s'\n" "${java}" "${java_args}" "${MYSELF}"
|
|
exec "$java" $java_args -jar $MYSELF "$@"
|
|
exit 1
|