Finding uninitiazed vars
This commit is contained in:
parent
8a024e26e1
commit
594b1b25dc
|
@ -14,6 +14,8 @@
|
||||||
|
|
||||||
(define-runtime-path here ".")
|
(define-runtime-path here ".")
|
||||||
(define (config-path str)
|
(define (config-path str)
|
||||||
|
(unless (path-string? str)
|
||||||
|
(error 'config-path "Not given path string: ~e" str))
|
||||||
(define p (if (relative-path? str)
|
(define p (if (relative-path? str)
|
||||||
(build-path here str)
|
(build-path here str)
|
||||||
str))
|
str))
|
||||||
|
|
|
@ -49,7 +49,8 @@
|
||||||
(and p (config-path p))))
|
(and p (config-path p))))
|
||||||
|
|
||||||
(define pkg-index-generated-directory
|
(define pkg-index-generated-directory
|
||||||
(config-path (@ (config) pkg-index-generated-directory)))
|
(config-path (or (@ (config) pkg-index-generated-directory)
|
||||||
|
(error 'pkg-index-generated-directory "Not specified"))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Static rendering daemon -- Interface
|
;; Static rendering daemon -- Interface
|
||||||
|
@ -260,4 +261,4 @@
|
||||||
(define (extra-files-paths)
|
(define (extra-files-paths)
|
||||||
(list static-generated-directory
|
(list static-generated-directory
|
||||||
(config-path "../static")
|
(config-path "../static")
|
||||||
(config-path pkg-index-generated-directory)))
|
pkg-index-generated-directory))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user