Use the guile command directly and update the load-path explicitly.
HEAD masterAvoid 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.
1 files 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)
|