cd graphhopper
FILE="romania-latest.osm.pbf"
GRAPH_FILE="graph-data.osm.pbf"
if [ ! -e $FILE ] && [ ! -e $GRAPH_FILE ]; then
  echo "Downloading http://download.geofabrik.de/europe/$FILE"
  curl -O http://download.geofabrik.de/europe/$FILE
fi
if [ ! -e $GRAPH_FILE ]; then
  mv $FILE $GRAPH_FILE
fi
rm -rf $(expr "graph-data.osm.pbf" : '\([^\.]*\)\.')".osm-gh"
git reset --hard HEAD
./graphhopper.sh import $GRAPH_FILE
cd ..
make force-compat
touch class.list

cd graphhopper
FILE="romania-latest.osm.pbf"
GRAPH_FILE="graph-data.osm.pbf"
if [ ! -e $FILE ] && [ ! -e $GRAPH_FILE ]; then
  echo "Downloading http://download.geofabrik.de/europe/$FILE"
  curl -O http://download.geofabrik.de/europe/$FILE
fi
if [ ! -e $GRAPH_FILE ]; then
  mv $FILE $GRAPH_FILE
fi
rm -rf $(expr $GRAPH_FILE : '\([^\.]*\)\.')".osm-gh"
git reset --hard HEAD
./graphhopper.sh import $GRAPH_FILE
cd ..
make force-compat
touch class.list

Remove hardcoded value from the import script
Remove hardcoded value from the import script
