forked from organicmaps/organicmaps
clean_indexes.sh script fix
This commit is contained in:
parent
1e566acf7d
commit
b694c963e9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue