aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/install
diff options
context:
space:
mode:
authoronefang2019-08-13 01:00:58 +1000
committeronefang2019-08-13 01:00:58 +1000
commit8c34b5efe171e9f3b6daf3cefd319872684d121f (patch)
treead93a4632b3fa19d18700ace79a2099842869b41 /scripts/install
parentRemove the left overs from the check4096 crap that is obsolete. (diff)
downloadopensim-SC_OLD-8c34b5efe171e9f3b6daf3cefd319872684d121f.zip
opensim-SC_OLD-8c34b5efe171e9f3b6daf3cefd319872684d121f.tar.gz
opensim-SC_OLD-8c34b5efe171e9f3b6daf3cefd319872684d121f.tar.bz2
opensim-SC_OLD-8c34b5efe171e9f3b6daf3cefd319872684d121f.tar.xz
Stop using num2name() in scripts.
Turns out I was feeding "01" to it, so that's why it thought things where octal, and "01" is the result we wanted anyway.
Diffstat (limited to '')
-rwxr-xr-xscripts/install/create_sim.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install/create_sim.sh b/scripts/install/create_sim.sh
index 055f802..0aa0941 100755
--- a/scripts/install/create_sim.sh
+++ b/scripts/install/create_sim.sh
@@ -13,8 +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 j=$(num2name "$i") 16 if [ -e "sim$j" ]
17 if [ -e "$j" ]
18 then 17 then
19 k=$i 18 k=$i
20 fi 19 fi