diff options
author | onefang | 2019-08-13 01:00:58 +1000 |
---|---|---|
committer | onefang | 2019-08-13 01:00:58 +1000 |
commit | 8c34b5efe171e9f3b6daf3cefd319872684d121f (patch) | |
tree | ad93a4632b3fa19d18700ace79a2099842869b41 /scripts/install/create_sim.sh | |
parent | Remove the left overs from the check4096 crap that is obsolete. (diff) | |
download | opensim-SC-8c34b5efe171e9f3b6daf3cefd319872684d121f.zip opensim-SC-8c34b5efe171e9f3b6daf3cefd319872684d121f.tar.gz opensim-SC-8c34b5efe171e9f3b6daf3cefd319872684d121f.tar.bz2 opensim-SC-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 'scripts/install/create_sim.sh')
-rwxr-xr-x | scripts/install/create_sim.sh | 3 |
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 | |||
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 | 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 |