Commit c2da05b9 authored by Christian Kral's avatar Christian Kral
Browse files

Add branch to be checked out

Allows the specification of the version
parent 1aaf3bea
......@@ -18,6 +18,9 @@ export WORK=/work
# Local installation directory with read + write + exectue access of the current
# user. This directory shall be created before running this script.
export INSTALLDIR=~/bin
# Branch to be checked out from JModelica.org,
# see https://trac.jmodelica.org/browser/
export JMODELICABRANCH=tags/2.12.5
# Install required packages
sudo apt install -y g++
......@@ -79,7 +82,7 @@ DATE=`date +%Y%m%d`
# Remove existing directory from work, if existing
sudo rm -fr ${WORK}/jmodelica
# Export data from jmodelica repository
svn export https://svn.jmodelica.org/trunk ${WORK}/jmodelica
svn export https://svn.jmodelica.org/${JMODELICABRANCH} ${WORK}/jmodelica
cd ${WORK}/jmodelica
# Replace solver_object.output with solver_object.getOutput See
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment