diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-09-23 17:12:30 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2023-09-23 17:15:11 -0400 |
commit | a86f4f6d53d05d6e1027619d00882feff1b857a8 (patch) | |
tree | 504d35823207ecbd7e2cafdd46f62e8aede4dde8 /scripts/super-bloom.in | |
parent | ea0d3009fa7020d75c1657cb532570305de699a6 (diff) |
Use entire load path from the build environment.
Diffstat (limited to 'scripts/super-bloom.in')
-rwxr-xr-x | scripts/super-bloom.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/super-bloom.in b/scripts/super-bloom.in index 1e9a41b..1452cd8 100755 --- a/scripts/super-bloom.in +++ b/scripts/super-bloom.in @@ -3,9 +3,10 @@ !# ;; Add installed modules to load path. -(define-syntax-rule (push! elt v) (set! v (cons elt v))) -(push! "@guilemoduledir@" %load-path) -(push! "@guileobjectdir@" %load-compiled-path) +(define-syntax-rule (append-path! path var) + (set! var (append (string-split path #\:) var))) +(append-path! "@guilemodulepath@" %load-path) +(append-path! "@guileobjectpath@" %load-compiled-path) ;; Launch game. (use-modules (super-bloom main)) |