osm-garmin: add renaming of output map files
parent
48a261d03c
commit
3a91128f30
|
@ -65,17 +65,16 @@ function build_gmap() {
|
|||
if [[ $build_failed == "false" ]]; then
|
||||
rm -f $generated_map_dir/*
|
||||
|
||||
mv "$build_dir/gmapsupp.img" "$generated_map_dir/"
|
||||
mv "$build_dir/osmmap.img" "$generated_map_dir/"
|
||||
mv "$build_dir/osmmap.tdb" "$generated_map_dir/"
|
||||
mv "$build_dir/gmapsupp.img" "$generated_map_dir/${region_shortname}_gmapsupp.img"
|
||||
mv "$build_dir/osmmap.img" "$generated_map_dir/${region_shortname}_osmmap.img"
|
||||
mv "$build_dir/osmmap.tdb" "$generated_map_dir/${region_shortname}_osmmap.tdb"
|
||||
echo "$version" > "$version_path"
|
||||
|
||||
rm -f $build_dir/*
|
||||
rm -f "$styles_dir/x$style.TYP"
|
||||
else
|
||||
rm -f $build_dir/*
|
||||
fi
|
||||
|
||||
rm -f "$styles_dir/x$style.TYP"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue