diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-06-02 17:27:49 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:49:43 +0300 |
commit | b694c963e97f7404a446f4262803ac3a9712c188 (patch) | |
tree | b867dafca98fff11738d61c56c7465fd073139b5 /tools | |
parent | 1e566acf7d072d231d53523e6a84538cf639646d (diff) |
clean_indexes.sh script fix
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/unix/clean_indexes.sh | 4 |
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 |