ui: Add CWD to Guile load path.
* haunt/ui.scm (haunt-main): Add CWD to Guile load path.
This commit is contained in:
parent
6ab9322709
commit
288913eff2
|
@ -124,6 +124,9 @@ There is NO WARRANTY, to the extent permitted by law.~%"
|
||||||
(apply command-main args))))
|
(apply command-main args))))
|
||||||
|
|
||||||
(define* (haunt-main arg0 . args)
|
(define* (haunt-main arg0 . args)
|
||||||
|
;; Add haunt site directory to Guile's load path so that user's can
|
||||||
|
;; easily import their own modules.
|
||||||
|
(add-to-load-path (getcwd))
|
||||||
(setlocale LC_ALL "")
|
(setlocale LC_ALL "")
|
||||||
(match args
|
(match args
|
||||||
(()
|
(()
|
||||||
|
|
Loading…
Reference in New Issue