From a7219bab0de6c1e22d99cf722b8e588427a012ad Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 4 Jul 2019 18:16:18 +1000 Subject: Silly script to get around the lack of includes in ROBUST. This'll be temporary until I get around to adding includes to ROBUST. --- scripts/robust-include | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/robust-include (limited to 'scripts/robust-include') diff --git a/scripts/robust-include b/scripts/robust-include new file mode 100755 index 0000000..e427eb1 --- /dev/null +++ b/scripts/robust-include @@ -0,0 +1,11 @@ +#!/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 -- cgit v1.1