DESTDIR=fancydir make install
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19589 Bug ID: 19589 Summary: DESTDIR environment variable ignored on "make install" Change sponsored?: --- Product: Koha Version: 17.05 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Installation and upgrade (command-line installer) Assignee: koha-bugs@lists.koha-community.org Reporter: int@arcor.de QA Contact: testopia@bugs.koha-community.org (In koha-17.05.03/) when calling the DESTDIR from the command-line is ignored and the empty one from Makefile is used. In Makefile the following line can be found
DESTDIR = If this line is deleted, the DESTDIR from the command-line is used as expected. (But I don't know if this is a good idea to do, beside that Makefile is generated.)
This behaviour is bad for package-building of koha. Steps to reproduce: Just follow the normal install procedure (as normal user):
perl Makefile.PL --install_base /usr/share/koha --install_mode standard ... make DESTDIR=fancydir make install The following error should occur: ERROR: Can't create '/etc/koha' mkdir /etc/koha: Permission denied at ... Expected is that everything is installed below $DESTDIR/, e.g. $DESTDIR/etc/koha, and not root.
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.