ui: Add CWD to Guile load path.
* haunt/ui.scm (haunt-main): Add CWD to Guile load path.
This commit is contained in:
		@@ -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
 | 
				
			||||||
    (()
 | 
					    (()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user