Guile path on win32 needs to be separated by ; instead of :.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14745 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-08-28 12:34:52 +00:00
parent 9fbd42d09b
commit 6e0fb684bd

View File

@ -61,6 +61,12 @@ exec guile -s $0 "$@"
"\\\\" ;; Needs to be quoted twice because of additional shell quoting
"/"))
;; The path separator string; only needed for GUILE_LOAD_PATH
(define path-sep-str
(if is-windows?
";"
":"))
;; Adapt the directory separator character in the given PATH and
;; return the result.
(define (adapt-dirsep path)
@ -83,10 +89,12 @@ exec guile -s $0 "$@"
(string-join gnc-module-dirs
":")))
(display " GUILE_LOAD_PATH=${GUILE_LOAD_PATH}:")
(display " GUILE_LOAD_PATH=\"${GUILE_LOAD_PATH}")
(display path-sep-str)
(display (adapt-dirsep
(string-join (append gnc-module-dirs guile-load-dirs)
":")))
path-sep-str)))
(display "\"")
(display " LD_LIBRARY_PATH=${LD_LIBRARY_PATH}")
(display (adapt-dirsep