#!/bin/bash # Silly script to get around the lack of includes in ROBUST. source common.sh getPrgDir # The problem here is that the > bit is executed as the user, not as opensim. cat ${PRGDIR}/../../config/config.ini ${PRGDIR}/../bin/Robust.ini >${PRGDIR}/../../config/Robust.ini chown -R ${OS_USER}:${OS_USER} ${PRGDIR}/../../config/Robust.ini chmod 600 ${PRGDIR}/../../config/Robust.ini