corda/package-demobench-dmg.sh

11 lines
203 B
Bash
Raw Normal View History

#!/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
2017-02-21 15:35:50 +00:00
exec $DIRNAME/gradlew -PpackageType=dmg javapackage $*