#1 always tries to create db

closed-fixed
Mayeul
None
5
2012-01-25
2011-09-10
Anonymous
No

It seems that the line

if [[ ( "$install" = "no" ) && ( "$createdb"="yes" ) ]]; then

should have double equals signs instead of single equals signs.

Discussion

  • Mayeul
    Mayeul
    2012-01-04

    • assigned_to: nobody --> mayeul
     
  • Mayeul
    Mayeul
    2012-01-25

    • status: open --> closed-fixed
     
  • Mayeul
    Mayeul
    2012-01-25

    Should be fixed in osm2postgresql_05rc2.sh (partly tested).

    In fact, the issue was that spaces are needed before and after the equal sign: "$createdb" = "yes" instead of "$createdb"="yes".

    Please leave comments here if you test this, thanks! (feel free to reopen)