Menu

#3 --install option: fails to export path

closed-fixed
Mayeul
None
5
2012-01-27
2012-01-26
Anonymous
No

Installation is success but the path variable is not exported instantly, so the psql command is not found on line 363 of version 5 rc2 (line 352 of version 4). It can be circumvented by manually exporting the path before executing (or rerun the script after logging on and off). Thus, not severe but might be worth fixing or explaining it?

Possibly the path variable could be exported within the current session in addition to writing them to the .bashr?

Reported by: osm user g0ldfish
System: fUbuntu 10.10 (fresh installation with default settings)

Discussion

  • Mayeul

    Mayeul - 2012-01-26
    • assigned_to: nobody --> mayeul
    • status: open --> pending-accepted
     
  • Mayeul

    Mayeul - 2012-01-26

    A simpler workaround might be to add the following just after installation:

    psql_folder=$installdir/bin/

    Done in osm2postgresql_05rc3.sh

    Could you please test it? Thanks!
    Mayeul

     
  • g0ldfish

    g0ldfish - 2012-01-27

    Yes, this does the trick.

     
  • g0ldfish

    g0ldfish - 2012-01-27
    • status: pending-accepted --> open-accepted
     
  • Mayeul

    Mayeul - 2012-01-27
    • status: open-accepted --> closed-fixed