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