blob: e427eb19ec79c0640734aa05f01739deb47e2163 (
plain)
1
2
3
4
5
6
7
8
9
10
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
|