From e9b904c32c7d6fad494db61205482b4fe124dcc1 Mon Sep 17 00:00:00 2001 From: tux Date: Sat, 2 Nov 2024 19:54:15 +0100 Subject: [PATCH] more robust scm file include --- all_base_includes.ly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all_base_includes.ly b/all_base_includes.ly index 10689c0..77c9f7b 100644 --- a/all_base_includes.ly +++ b/all_base_includes.ly @@ -1,6 +1,6 @@ #(define noStandaloneOutput (if (defined? 'noStandaloneOutput) noStandaloneOutput #f)) -#(if (defined? 'LAYOUT) #f (load "json_parser.scm")) +#(if (defined? 'LAYOUT) #f (load (string-append (dirname (current-filename)) file-name-separator-string "json_parser.scm"))) #(use-modules (json parser)) \include "basic_format_and_style_settings.ly" \include "eps_file_from_song_dir.ly"