1 Description: Read relocation dir under lilypond_datadir too
2 This allows loading /usr/share/lilypond/2.18.2/etc/relocate/guile.reloc
3 to set our own private GUILE_LOAD_PATH at startup.
4 Author: Anthony Fok <foka@debian.org>
6 Bug-Debian: https://bugs.debian.org/746005
8 Last-Update: 2017-01-24
10 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
11 --- a/lily/relocate.cc
12 +++ b/lily/relocate.cc
14 debug_output (_f ("Relocation: framework_prefix=%s", prefix));
16 sane_putenv ("INSTALLER_PREFIX", prefix, true);
17 + sane_putenv ("LILYPOND_DATADIR", lilypond_datadir, true);
19 read_relocation_dir (prefix + "/etc/relocate/");
20 + read_relocation_dir (lilypond_datadir + "/etc/relocate/");
22 string bindir = prefix + "/bin";