corda/package-demobench-dmg.sh
2017-02-22 08:45:11 +00:00

11 lines
203 B
Bash
Executable File

#!/bin/sh
DIRNAME=$(dirname $0)
if [ -z "$JAVA_HOME" -o ! -x $JAVA_HOME/bin/java ]; then
echo "Please set JAVA_HOME correctly"
exit 1
fi
exec $DIRNAME/gradlew -PpackageType=dmg javapackage $*