Use correct pbf path
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
6ff4db3abd
commit
c501340971
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ case $key in
|
|||
*)
|
||||
if [ $first == "1" ]; then
|
||||
pbf_path="$1"
|
||||
shift # past pbf-path
|
||||
shift # past pbf_path
|
||||
first=0
|
||||
else
|
||||
echo "Unknown option $key"
|
||||
|
@ -70,4 +70,4 @@ if [ -z "$pbf_path" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
ls "$pbf_path"/*.osm.pbf | sed -e "s/.osm.pbf//" -e "s:^.*/::" | parallel -j$num_jobs --eta "$root_path/create-db $prefix{} && $root_path/read-pbf $prefix{} {}.osm.pbf"
|
||||
ls "$pbf_path"/*.osm.pbf | sed -e "s/.osm.pbf//" -e "s:^.*/::" | parallel -j$num_jobs --eta "$root_path/create-db $prefix{} && $root_path/read-pbf $prefix{} $pbf_path/{}.osm.pbf"
|
||||
|
|
Loading…
Reference in a new issue