From de2e209e8ede4fb3d91382a38d44bc5bdbc05ce8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 3 Sep 2025 14:23:26 -0500 Subject: Use the guile command directly and update the load-path explicitly. Avoid using the './pre-inst-env' file that will probably not exist in installed modules. Instead, prefer the explicit path, relative to the "entry-point" file, that will be more consistent, even in an install. --- generate-ttl-files.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate-ttl-files.scm b/generate-ttl-files.scm index 7afbe7b..28be496 100755 --- a/generate-ttl-files.scm +++ b/generate-ttl-files.scm @@ -112,8 +112,8 @@ errors." (ttl-file (string-append output "/" base-file-name ".ttl"))) ;; Ignore dataset-metadata-git.scm because TODO (unless (string=? base-file-name "dataset-metadata-git") - (system* "./pre-inst-env" file "--settings" settings - "--output" ttl-file)))) + (system* "guile" "-L" (dirname (current-filename)) file + "--settings" settings "--output" ttl-file)))) (find-files "./examples" ".scm")) ;; Copy hand-woven ttl files. (for-each (lambda (file) -- cgit 1.4.1