aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-08-13 03:11:45 +1000
committeronefang2019-08-13 03:11:45 +1000
commit2ad73482b8b635707f77160a9538252b7f66ad32 (patch)
treee5cc5c25f49606363dda97a6f878023b77a4a081
parentWhitespace-- (diff)
downloadopensim-SC-2ad73482b8b635707f77160a9538252b7f66ad32.zip
opensim-SC-2ad73482b8b635707f77160a9538252b7f66ad32.tar.gz
opensim-SC-2ad73482b8b635707f77160a9538252b7f66ad32.tar.bz2
opensim-SC-2ad73482b8b635707f77160a9538252b7f66ad32.tar.xz
ThisSim.ini -> Actual_Name.ini
And a minor typo I'm suprised survived.
-rwxr-xr-xscripts/install/create_sim.sh4
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
13k=0 13k=0
14for i in $(seq -w 1 99) 14for i in $(seq -w 1 99)
15do 15do
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
70sed -i "s@OS_PATH@${OS_PATH}@g" opensim-monit.conf 70sed -i "s@OS_PATH@${OS_PATH}@g" opensim-monit.conf
71sed -i "s@SIM_NUMBER@${NUM}@g" opensim-monit.conf 71sed -i "s@SIM_NUMBER@${NUM}@g" opensim-monit.conf
72 72
73mv ThisSim.ini $(sanitize "${NAME}").ini
74
73sudo chown -R ${OS_USER}:${OS_USER} .. 75sudo chown -R ${OS_USER}:${OS_USER} ..
74sudo chmod -R g+w .. 76sudo chmod -R g+w ..