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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-06-02 17:27:49 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:49:43 +0300
commitb694c963e97f7404a446f4262803ac3a9712c188 (patch)
treeb867dafca98fff11738d61c56c7465fd073139b5 /tools
parent1e566acf7d072d231d53523e6a84538cf639646d (diff)
clean_indexes.sh script fix
Diffstat (limited to 'tools')
-rwxr-xr-xtools/unix/clean_indexes.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unix/clean_indexes.sh b/tools/unix/clean_indexes.sh
index 16a1bff1a2..e542cf9b29 100755
--- a/tools/unix/clean_indexes.sh
+++ b/tools/unix/clean_indexes.sh
@@ -2,13 +2,13 @@
set -u -x
BASE_PATH=$(pwd)
-DATA_PATH=$BASE_PATH/../../../data
+DATA_PATH=$BASE_PATH/../../data
COUNTRY_LIST=${COUNTRY_LIST-$(ls -1 $DATA_PATH/*.mwm)}
if [ "$COUNTRY_LIST" ]
then
echo "$COUNTRY_LIST" | while read file ; do
- rm -rf ${file%.mwm}/
+ rm -rf "${file%.mwm}/"
done
fi