27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
(declare (uses process))
(declare (uses env))
(declare (uses keys))
(declare (uses debugprint))
(include "common_records.scm")
(import debugprint)
;; return list (path fullpath configname)
(define (find-config configname #!key (toppath #f))
(if toppath
(let ((cfname (conc toppath "/" configname)))
(if (common:file-exists? cfname)
(list toppath cfname configname)
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
(declare (uses process))
(declare (uses env))
(declare (uses keys))
(declare (uses debugprint))
(include "common_records.scm")
;; (import debugprint)
;; return list (path fullpath configname)
(define (find-config configname #!key (toppath #f))
(if toppath
(let ((cfname (conc toppath "/" configname)))
(if (common:file-exists? cfname)
(list toppath cfname configname)
|