mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Create root-dir when it does not exists, fix #35.
This commit is contained in:
parent
7065d263f5
commit
a41f8ea6d3
@ -159,10 +159,8 @@
|
||||
;; output its data logs and reject files
|
||||
(let ((root-dir-truename (probe-file root-dir)))
|
||||
(if root-dir-truename
|
||||
(progn
|
||||
(setf *root-dir* (fad:pathname-as-directory root-dir-truename))
|
||||
(mkdir-or-die *root-dir* debug))
|
||||
(format t "FATAL: can't find root-dir: ~s~%" root-dir)))
|
||||
(setf *root-dir* (fad:pathname-as-directory root-dir-truename))
|
||||
(mkdir-or-die *root-dir* debug)))
|
||||
|
||||
;; Set parameters that come from the environement
|
||||
(init-params-from-environment)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user