diff options
author | onefang | 2019-08-13 03:11:45 +1000 |
---|---|---|
committer | onefang | 2019-08-13 03:11:45 +1000 |
commit | 2ad73482b8b635707f77160a9538252b7f66ad32 (patch) | |
tree | e5cc5c25f49606363dda97a6f878023b77a4a081 /scripts/install | |
parent | Whitespace-- (diff) | |
download | opensim-SC_OLD-2ad73482b8b635707f77160a9538252b7f66ad32.zip opensim-SC_OLD-2ad73482b8b635707f77160a9538252b7f66ad32.tar.gz opensim-SC_OLD-2ad73482b8b635707f77160a9538252b7f66ad32.tar.bz2 opensim-SC_OLD-2ad73482b8b635707f77160a9538252b7f66ad32.tar.xz |
ThisSim.ini -> Actual_Name.ini
And a minor typo I'm suprised survived.
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/create_sim.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install/create_sim.sh b/scripts/install/create_sim.sh index 71aabc7..6af49ac 100755 --- a/scripts/install/create_sim.sh +++ b/scripts/install/create_sim.sh | |||
@@ -13,7 +13,7 @@ cd ${OS_PATH}/config | |||
13 | k=0 | 13 | k=0 |
14 | for i in $(seq -w 1 99) | 14 | for i in $(seq -w 1 99) |
15 | do | 15 | do |
16 | if [ -e "sim$j" ] | 16 | if [ -e "sim$i" ] |
17 | then | 17 | then |
18 | k=$i | 18 | k=$i |
19 | fi | 19 | fi |
@@ -70,5 +70,7 @@ sed -i "s@SIM_PORT@${PORT}@g" ThisSim.ini | |||
70 | sed -i "s@OS_PATH@${OS_PATH}@g" opensim-monit.conf | 70 | sed -i "s@OS_PATH@${OS_PATH}@g" opensim-monit.conf |
71 | sed -i "s@SIM_NUMBER@${NUM}@g" opensim-monit.conf | 71 | sed -i "s@SIM_NUMBER@${NUM}@g" opensim-monit.conf |
72 | 72 | ||
73 | mv ThisSim.ini $(sanitize "${NAME}").ini | ||
74 | |||
73 | sudo chown -R ${OS_USER}:${OS_USER} .. | 75 | sudo chown -R ${OS_USER}:${OS_USER} .. |
74 | sudo chmod -R g+w .. | 76 | sudo chmod -R g+w .. |