mirror of
https://github.com/corda/corda.git
synced 2025-01-29 23:54:07 +00:00
CORPRIV-659: Tweak post-image script for DMG.
This commit is contained in:
parent
09d3fb423d
commit
d3e46d97b9
@ -1,7 +1,10 @@
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
echo "Please set JAVA_HOME correctly."
|
||||
else
|
||||
INSTALL_HOME=../images/DemoBench.app/Contents/PlugIns/Java.runtime/Contents/Home/jre/bin
|
||||
# Switch to folder containing application.
|
||||
cd ../images/DemoBench.app
|
||||
|
||||
INSTALL_HOME=Contents/PlugIns/Java.runtime/Contents/Home/jre/bin
|
||||
mkdir -p $INSTALL_HOME
|
||||
cp $JAVA_HOME/jre/bin/java $INSTALL_HOME
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user