* lily/main.cc (setup_paths): don't inspect $PATH for argv0 with
slashes.
(prepend_env_path): more verbosity.
2005-12-19 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/main.cc (setup_paths): read LILYPOND_RELOCATE_PREFIX
+
* stepmake/stepmake/install-targets.make (local-uninstall): idem.
* stepmake/stepmake/install-out-targets.make (local-install-outfiles): idem.
/* if name contains slashes, we should not look in $PATH */
String argv0_abs;
- if (argv0[0] == '/')
+ if (getenv ("LILYPOND_RELOCATE_PREFIX"))
+ argv0_abs = getenv ("LILYPOND_RELOCATE_PREFIX");
+ else if (argv0[0] == '/')
argv0_abs = argv0_abs;
else if (String (argv0).index ('/') > 0)
argv0_abs = get_working_directory () + "/" + String (argv0);