Description: Fix for Tests
Author: Thibaut Gridel <tgridel@free.fr>

--- routino-2.1.1.orig/src/test/a-b-c.sh
+++ routino-2.1.1/src/test/a-b-c.sh
@@ -74,8 +74,8 @@ for waypoint in $waypoints; do
 
     [ -d $dir/$name-$waypoint ] || mkdir $dir/$name-$waypoint
 
-    echo ../router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b $waypoint_c >> $log
-    $debugger ../router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b $waypoint_c >> $log
+    echo ../routino-router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b $waypoint_c >> $log
+    $debugger ../routino-router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b $waypoint_c >> $log
 
     mv shortest* $dir/$name-$waypoint
 
--- routino-2.1.1.orig/src/test/a-b.sh
+++ routino-2.1.1/src/test/a-b.sh
@@ -73,8 +73,8 @@ for waypoint in $waypoints; do
 
     [ -d $dir/$name-$waypoint ] || mkdir $dir/$name-$waypoint
 
-    echo ../router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b >> $log
-    $debugger ../router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b >> $log
+    echo ../routino-router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b >> $log
+    $debugger ../routino-router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_a $waypoint_b >> $log
 
     mv shortest* $dir/$name-$waypoint
 
--- routino-2.1.1.orig/src/test/start-1-finish.sh
+++ routino-2.1.1/src/test/start-1-finish.sh
@@ -73,8 +73,8 @@ for waypoint in $waypoints; do
 
     [ -d $dir/$name-$waypoint ] || mkdir $dir/$name-$waypoint
 
-    echo ../router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_start $waypoint_test $waypoint_finish >> $log
-    $debugger ../router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_start $waypoint_test $waypoint_finish >> $log
+    echo ../routino-router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_start $waypoint_test $waypoint_finish >> $log
+    $debugger ../routino-router$slim $option_dir $option_prefix $option_osm $option_router $waypoint_start $waypoint_test $waypoint_finish >> $log
 
     mv shortest* $dir/$name-$waypoint
 
--- routino-2.1.1.orig/web/www/routino/paths.pl
+++ routino-2.1.1/web/www/routino/paths.pl
@@ -22,10 +22,10 @@
 # Directory path parameters
 
 # EDIT THIS to set the root directory for the non-web data files.
-$root_dir="../..";
+$root_dir="/var/lib/routino";
 
 # EDIT THIS to change the location of the individual directories.
-$bin_dir="$root_dir/bin";
+$bin_dir="/usr/bin";
 $data_dir="$root_dir/data";
 $results_dir="$root_dir/results";

@@ -30,14 +30,14 @@ $data_dir="$root_dir/data";
 $results_dir="$root_dir/results";
 
 # EDIT THIS to set the filename prefix for the routing database files.
 $data_prefix="";

 # EDIT THIS to change the names of the executables (enables easy selection of slim mode).
-$router_exe="router";
+$router_exe="routino-router";
 $filedumper_exe="filedumper";
 
 # EDIT THIS to change the search type and base URL (must be a type recognised by search.pl).
 $search_type="nominatim";
 $search_baseurl="http://nominatim.openstreetmap.org/search";

 1;
