aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/robust-include
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/robust-include')
-rwxr-xr-xscripts/robust-include11
1 files changed, 11 insertions, 0 deletions
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 @@
1#!/bin/bash
2
3# Silly script to get around the lack of includes in ROBUST.
4
5source common.sh
6getPrgDir
7
8# The problem here is that the > bit is executed as the user, not as opensim.
9cat ${PRGDIR}/../../config/config.ini ${PRGDIR}/../bin/Robust.ini >${PRGDIR}/../../config/Robust.ini
10chown -R ${OS_USER}:${OS_USER} ${PRGDIR}/../../config/Robust.ini
11chmod 600 ${PRGDIR}/../../config/Robust.ini