From: fred Date: Wed, 27 Mar 2002 02:04:17 +0000 (+0000) Subject: lilypond-1.5.23 X-Git-Tag: release/1.5.59~397 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0040addaab889d310b463eb9ee953bf1566b10d9;p=lilypond.git lilypond-1.5.23 --- diff --git a/lily/main.cc b/lily/main.cc index 39e462d944..67b85396d8 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -255,12 +255,12 @@ setup_paths () /* Adding mf/out make lilypond unchanged source directory, when setting LILYPONDPREFIX to lilypond-x.y.z */ char *suffixes[] = {"ly", "afm", "mf/out", "scm", "tfm", "ps", 0}; - String prefix = prefix_directory; - if (prefix.empty_b ()) - prefix = DIR_DATADIR; + + if (prefix_directory.empty_b ()) + prefix_directory = DIR_DATADIR; for (char **s = suffixes; *s; s++) { - String p = prefix + to_str ('/') + String (*s); + String p = prefix_directory + to_str ('/') + String (*s); global_path.add (p); #if !KPATHSEA @@ -324,6 +324,7 @@ main_prog (void * , int, char**) Very ugh. */ + init_lily_guile (prefix_directory); cout << endl;