http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13971
--- Comment #5 from M. de Rooy <[email protected]> --- (In reply to Robin Sheat from comment #3) > So, Liz and I were chatting about this just yesterday. What I was thinking > was having a library file/function that all the scripts run that exports > PERL5LIB into the environment, taking it from, perhaps, koha-conf.xml. > > Currently koha-conf.xml doesn't really have a facility for a path for this, > but adding one wouldn't be a big deal. > > On the other hand, I like better your more general (and easier to work with > programmatically) method of having a file, though I'd be not inclined to > call it 'gitify' just because it's useful in other situations too, I'm sure > (though I don't know what :) > > So yeah, like the plan and the approach, just think it should be generalised > a bit more using the library stuff we have so it works for other scripts too > (_especially_ koha-upgrade-schema.) Thanks. Submitted an adjusted patch for those two actually separate things: 1) get a path from koha-conf with get_perl5lib 2) get gitified status from koha-conf too with is_gitified (no longer a file) So two new functions in koha-functions. Please look too at the scriptdir lines in koha-rebuild-zebra at the start. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
