Skip to content

Commit

Permalink
Small fixes due to changes in mkgmap/osmosis
Browse files Browse the repository at this point in the history
  • Loading branch information
pankdm committed Jul 5, 2013
1 parent d1e19b0 commit eca1d63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ convert:
--family-id=${ID} \
--keep-going \
--read-config=optionsfile.args \
--style-file=${STYLE} \
--style=${STYLE} \
--style-file=./${STYLE} \
--gmapsupp \
-c splitted/template.args ${STYLE}/${TYP}

Expand Down
10 changes: 6 additions & 4 deletions update_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ osmosis_url='http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tg

update_dist() {
dist_url=$1
tmp_suffix=$2
dist_file=`basename $dist_url`
remote_size=`wget --spider --server-response $dist_url -O - 2>&1 | sed -ne '/Content-Length/{s/.*: //;p}'`
if [ -e $dist_file ]; then
Expand All @@ -19,14 +20,15 @@ update_dist() {
rm -f $dist_file
wget -c $dist_url
fi
tar xfz $dist_file -C tmp
mkdir -p tmp/${tmp_suffix}
tar xfz $dist_file -C tmp/${tmp_suffix}
}

mkdir -p tmp

update_dist $mkgmap_url
update_dist $splitter_url
update_dist $osmosis_url
update_dist ${mkgmap_url}
update_dist ${splitter_url}
update_dist ${osmosis_url} osmosis-latest

mkdir -p contrib

Expand Down

0 comments on commit eca1d63

Please sign in to comment.