From: Han-Wen Nienhuys Date: Tue, 16 Jan 2007 16:50:42 +0000 (+0100) Subject: fix standalone functions X-Git-Tag: release/2.11.12-1~21 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2d3d09ac04f766ad3d111d2b9a61f0d221727249;p=lilypond.git fix standalone functions --- diff --git a/scm/standalone.scm b/scm/standalone.scm index 681a49d042..5a644d2b3d 100644 --- a/scm/standalone.scm +++ b/scm/standalone.scm @@ -5,6 +5,9 @@ ;;;; (c) 1998--2006 Jan Nieuwenhuizen ;;;; Han-Wen Nienhuys + +(use-modules (ice-9 rdelim)) + (define standalone (not (defined? 'ly:gulp-file))) ;;(write standalone (current-error-port)) @@ -16,8 +19,8 @@ (define (scm-gulp-file name) (set! %load-path - (cons (string-append (getenv 'LILYPONDPREFIX) "/ly") - (cons (string-append (getenv 'LILYPONDPREFIX) "/ps") + (cons (string-append (getenv "LILYPONDPREFIX") "/ly") + (cons (string-append (getenv "LILYPONDPREFIX") "/ps") %load-path))) (let ((path (%search-load-path name))) (if path