#!/bin/bash
# Start Mathematica in batch mode and run the "NRG Ljubljana"
# initialisation script
# Rok Zitko, rok.zitko@ijs.si, 2009-2018

NRGDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
NRG_INITSCRIPT=${NRGDIR}/nrginit.m
math -batchinput -batchoutput <<EOF
NRGDIR="${NRGDIR}";
Get["${NRG_INITSCRIPT}"];
EOF
