diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2007-03-24 02:07:35 -0300 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2007-03-24 02:07:35 -0300 |
commit | 5a3cad030eb8f1fb26de2306aaa0fdd4ea8a66a0 (patch) | |
tree | f059f1ea1099deb5f24ac03d6a9872c9fba261fb | |
parent | d8c103f73dec7a61da04f3be0ffa6a790660fb52 (diff) |
strip LD_LIBRARY_PATH from inkscape call.
-rw-r--r-- | input/regression/backend-svg.ly | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/input/regression/backend-svg.ly b/input/regression/backend-svg.ly index 83f40500c5..39be9d428c 100644 --- a/input/regression/backend-svg.ly +++ b/input/regression/backend-svg.ly @@ -14,8 +14,10 @@ %% TODO: what to do if inkscape fails? #(display "Invoking inkscape...\n") -%% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB. -#(ly:system (format #f "inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname) +%% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB. +%% LD_LIBRARY_PATH is part of the start-environment but should be switched off +%% for external inkscape. +#(ly:system (format #f "LD_LIBRARY_PATH= inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname) (cons (format #f "FONTCONFIG_FILE=~a/fonts/fonts.conf" (ly:effective-prefix)) (ly:start-environment))) |