forked from organicmaps/organicmaps
Fixed files with spaces in build script
This commit is contained in:
parent
b38b92a5b2
commit
8ad9488d67
1 changed files with 5 additions and 5 deletions
|
@ -122,11 +122,11 @@ $PV $OSM_BZ2 | bzip2 -d | $INDEXER_TOOL --intermediate_data_path=$TMPDIR \
|
|||
|
||||
# 3rd pass - do in parallel
|
||||
for file in $DATA_PATH/*.mwm; do
|
||||
if [ $file != "minsk-pass" ]; then
|
||||
filename=$(basename $file)
|
||||
extension=${filename##*.}
|
||||
filename=${filename%.*}
|
||||
$INDEXER_TOOL --data_path=$DATA_PATH --generate_geometry --sort_features --generate_index --output=$filename &
|
||||
if [ "$file" != "minsk-pass" ]; then
|
||||
filename=$(basename "$file")
|
||||
extension="${filename##*.}"
|
||||
filename="${filename%.*}"
|
||||
$INDEXER_TOOL -output="$filename" -data_path=$DATA_PATH -generate_geometry -sort_features -generate_index -intermediate_data_path=$TMPDIR &
|
||||
forky $PROCESSORS
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue