diff options
author | onefang | 2019-07-04 18:16:18 +1000 |
---|---|---|
committer | onefang | 2019-07-04 18:16:18 +1000 |
commit | a7219bab0de6c1e22d99cf722b8e588427a012ad (patch) | |
tree | 5f3a658ebfb2816769ecb684ef374b1cedba402e /scripts/robust-include | |
parent | Move the MG configs to their own file. (diff) | |
download | opensim-SC_OLD-a7219bab0de6c1e22d99cf722b8e588427a012ad.zip opensim-SC_OLD-a7219bab0de6c1e22d99cf722b8e588427a012ad.tar.gz opensim-SC_OLD-a7219bab0de6c1e22d99cf722b8e588427a012ad.tar.bz2 opensim-SC_OLD-a7219bab0de6c1e22d99cf722b8e588427a012ad.tar.xz |
Silly script to get around the lack of includes in ROBUST.
This'll be temporary until I get around to adding includes to ROBUST.
Diffstat (limited to 'scripts/robust-include')
-rwxr-xr-x | scripts/robust-include | 11 |
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 | |||
5 | source common.sh | ||
6 | getPrgDir | ||
7 | |||
8 | # The problem here is that the > bit is executed as the user, not as opensim. | ||
9 | cat ${PRGDIR}/../../config/config.ini ${PRGDIR}/../bin/Robust.ini >${PRGDIR}/../../config/Robust.ini | ||
10 | chown -R ${OS_USER}:${OS_USER} ${PRGDIR}/../../config/Robust.ini | ||
11 | chmod 600 ${PRGDIR}/../../config/Robust.ini | ||