[Koha-bugs] [Bug 18502] New: koha-shell broken on dev installs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 27 16:35:39 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18502

            Bug ID: 18502
           Summary: koha-shell broken on dev installs
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: gmcharlt at gmail.com
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

Bug 16749 introduced a nice way to have flexible paths. During the discussion
on how to do it, we moved from having it contain the path to the git dir to
just a boolean. The 'koha-shell' script didn't get attention it seems, and it
is broken on dev installs.

This was hidden by the fact that many of us run dev installs on kohadevbox,
which sets a .bashrc file for de instance's user, containing the right path
when opening the new shell.

To reproduce:
- On kohadevbox, run:
  $ sudo koha-shell kohadev -c "perl misc4dev/populate_db.pl"
=> FAIL: C4/Installer.pm not found on PERL5LIB error.

Fix to be attached.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list