cd graphhopper
if [ -z ${FILE+x} ]; then
  FILE="romania-latest.osm.pbf"
fi
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 checkout master
./graphhopper.sh import $GRAPH_FILE
git checkout ios-compat
#cd ..
#touch class.list

cd graphhopper
if [ -z ${FILE+x} ]; then
  FILE="romania-latest.osm.pbf"
fi
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 checkout 0.4
./graphhopper.sh import $GRAPH_FILE
git checkout ios-compat
cd ..
touch class.list

Use branch 0.4 when importing sample graph data, and touch class.list so it doesn't need a make: `class.list' is up to date. command
Use branch 0.4 when importing sample graph data, and touch class.list so it doesn't need a make: `class.list' is up to date. command
