]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-invoke-editor.scm
Finish rename of LILYPONDPREFIX to LILYPOND_DATADIR. Remove confusion
[lilypond.git] / scripts / lilypond-invoke-editor.scm
index 275aa901d88304e05d08f1cd1cbaffddbdf1c8f9..0d8ca9ef52cc9714b6daf51b15994127bf6bf8e6 100755 (executable)
@@ -24,9 +24,9 @@
 
 ;; argv0 relocation -- do in wrapper?
 
-(define LILYPONDPREFIX
+(define LILYPOND_DATADIR
   (let* ((prefix
-         (or (getenv "LILYPONDPREFIX")
+         (or (getenv "LILYPOND_DATADIR")
              (dirname  (dirname (car (command-line)))))))
     
 
@@ -150,7 +150,7 @@ Options:
        (begin
          (show-help (current-error-port))
          (exit 2)))
-    (set! %load-path (cons LILYPONDPREFIX %load-path))
+    (set! %load-path (cons LILYPOND_DATADIR %load-path))
 
     (primitive-eval '(use-modules (scm editor)))