Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2013-02-26 09:56:05 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:36 +0300
commit5ce10998e0bf2811b6a945aa305cc42126ef9f30 (patch)
tree731751a83c1d0478c471b1d220ea8266acbb0e62 /tools
parent548926936703ed87ad839a78beb310c7f1ecb3de (diff)
Updated map build script
Diffstat (limited to 'tools')
-rwxr-xr-xtools/unix/make_index_of.sh14
1 files changed, 6 insertions, 8 deletions
diff --git a/tools/unix/make_index_of.sh b/tools/unix/make_index_of.sh
index f61217d5a1..2697b50e0b 100755
--- a/tools/unix/make_index_of.sh
+++ b/tools/unix/make_index_of.sh
@@ -37,17 +37,15 @@ MY_PATH=`dirname $0`
# find generator_tool
# check if user specified build suffix parameter
if [ $# -ge 3 ]; then
- IT_ARR_SIZE=4
- IT_PATHS_ARRAY=( "$MY_PATH/../../../omim-build-$3/out/release/generator_tool" \
- "$MY_PATH/../../../$3/out/release/generator_tool" \
- "$MY_PATH/../../../omim-build-$3/out/debug/generator_tool" \
- "$MY_PATH/../../../$3/out/debug/generator_tool" )
+ IT_PATHS_ARRAY=( "$MY_PATH/../../../omim-build-$3/out/$3/generator_tool" \
+ "$MY_PATH/../../../$3/out/$3/generator_tool" \
+ "$MY_PATH/../../../omim-$3/out/$3/generator_tool" \
+ "stub-for-cycle" )
else
- IT_ARR_SIZE=2
IT_PATHS_ARRAY=( "$MY_PATH/../../../omim-build-release/out/release/generator_tool" \
+ "$MY_PATH/../../../omim-release/out/release/generator_tool"
"$MY_PATH/../../../omim-build-debug/out/debug/generator_tool" \
- "stub-for-for-cycle" \
- "stub-for-for-cycle" )
+ "$MY_PATH/../../../omim-debug/out/debug/generator_tool" )
fi
for i in {0..3}; do
if [ -x ${IT_PATHS_ARRAY[i]} ]; then