create "man1" directory before trying to put a man page there
This commit is contained in:
parent
d7d1739d4f
commit
3e53fd3a93
|
@ -1464,6 +1464,8 @@
|
||||||
#t)
|
#t)
|
||||||
(unless already?
|
(unless already?
|
||||||
(delete-directory/files dest #:must-exist? #f)
|
(delete-directory/files dest #:must-exist? #f)
|
||||||
|
(let-values ([(base name dir?) (split-path dest)])
|
||||||
|
(when (path? base) (make-directory* base)))
|
||||||
(if (file-exists? src)
|
(if (file-exists? src)
|
||||||
(copy-file src dest)
|
(copy-file src dest)
|
||||||
(copy-directory/files src dest)))
|
(copy-directory/files src dest)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user