<div dir="ltr">I have bash.exe in /bin directory. On executing <div><br></div><div>cd /bin</div><div>bash -v</div><div><br></div><div>it gives base-files version 4.1-1 and a long list.</div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 5:27 PM, Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is /bin/bash available in your cygwin environment? The elif command<br>
should be handled by bash. Maybe you have to install bash into cygwin?<br>
<span class="HOEnZb"><font color="#888888"><br>
Peter.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> I followed the instruction<br>
> in <a href="https://github.com/graphhopper/graphhopper/wiki/Windows" target="_blank">https://github.com/graphhopper/graphhopper/wiki/Windows</a><br>
><br>
> I have also done the troubleshooting part and i am still getting this<br>
> error.<br>
><br>
> $ ./graphhopper.sh web europe_germany_berlin.osm<br>
> ./graphhopper.sh: line 2: $'\r': command not found<br>
> ./graphhopper.sh: line 34: syntax error near unexpected token `elif'<br>
> '/graphhopper.sh: line 34: `  elif [ ! -s "$OSM_FILE" ]; then<br>
><br>
> If i remove the empty line in line 2, i don't get the 1st error but<br>
> the 2nd and 3rd error remains.<br>
<br>
<br>
</div></div></blockquote></div><br></div>