https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21177
--- Comment #8 from M. Tompsett <[email protected]> --- Comment on attachment 77574 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77574 Bug 21177: Use koha-conf.xml in misc/devel/update_dbix_class_files.pl Review of attachment 77574: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=21177&attachment=77574) ----------------------------------------------------------------- ::: misc/devel/update_dbix_class_files.pl @@ +61,5 @@ > + print STDERR "Error: KOHA_CONF is not defined\n"; > + exit(1); > + } > + > + $koha_conf ||= $ENV{KOHA_CONF}; I think comment #6 was about putting this kind of line above line 59, and then perhaps just check if ($koha_conf) in 59. This way $koha_conf can default to the environment variable if koha-conf isn't explicitly stated. -- 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/
