X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/340b9793d61b5098debc724e9ab95105f609a236..84b976f9063129728ca12a5537900bdbf97fafa1:/tests/scenes/bin/make_scenes.sh diff --git a/tests/scenes/bin/make_scenes.sh b/tests/scenes/bin/make_scenes.sh index 71de8703..25340b50 100755 --- a/tests/scenes/bin/make_scenes.sh +++ b/tests/scenes/bin/make_scenes.sh @@ -1,4 +1,4 @@ -#/bin/bash -e +#!/bin/bash -e # # Regenerates wkts for scenarios. # @@ -11,10 +11,10 @@ if [ ! -d "$datadir" ]; then fi echo "Using datadir $datadir" -pushd $datadir +cd $datadir # remove old wkts -rm $datadir/*.wkt +rm -f $datadir/*.wkt # create wkts from SQL scripts for fl in *.sql; do @@ -27,5 +27,3 @@ for fl in *.osm; do echo "Processing $fl.." ../bin/osm2wkt $fl done - -popd