eg_db_config assumes it runs from source directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Medium
|
Unassigned |
Bug Description
Evergreen Version: master as of 20130419/2.4-beta
OpenSRF Version: latest master
PostgreSQL Version: 9.2.4
eg_db_config is installed to /openils/bin. However, its code still makes assumptions that it is being run from the source checkout/tarball directory.
The following console output illustrates this:
opensrf@jasondev:~$ eg_db_config --create-offline
Can't exec "/openils/
Use of uninitialized value $temp[0] in scalar chomp at /openils/
Can't exec "/openils/
Use of uninitialized value $temp[0] in scalar chomp at /openils/
Error: /openils/
I haven't looked into a fix, yet, but our scripts need to be made relocatable, and they should be better organized in the source if they are meant to be run from there, plus runnable once installed.
Changed in evergreen: | |
milestone: | none → 2.4.0-rc |
status: | New → Triaged |
Changed in evergreen: | |
milestone: | 2.4.0-rc → 2.5.0-alpha |
importance: | Undecided → Medium |
Changed in evergreen: | |
milestone: | 2.5.0-m1 → none |
no longer affects: | evergreen/2.4 |