* Do not crash if the output directory is created in the meanwhile
This commit is contained in:
parent
43b6f05dfb
commit
1f3ba658fc
1 changed files with 3 additions and 1 deletions
|
@ -2013,7 +2013,9 @@ Prepare every function for final compilation and drive the C back-end."
|
|||
(let ((dir (file-name-directory name)))
|
||||
(comp-finalize-relocs)
|
||||
(unless (file-exists-p dir)
|
||||
(make-directory dir))
|
||||
;; In case it's created in the meanwhile.
|
||||
(ignore-error 'file-already-exists
|
||||
(make-directory dir)))
|
||||
(unless comp-dry-run
|
||||
(comp--compile-ctxt-to-file name))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue