mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
ui: Add "error-reporting wrapper" for 'mkdir'.
* guix/ui.scm <top level>: Change 'mkdir' to use an error-reporting wrapper.
This commit is contained in:
parent
968b882f55
commit
852908d24d
1 changed files with 3 additions and 0 deletions
|
@ -591,6 +591,9 @@ (define-syntax-rule (error-reporting-wrapper proc formals file)
|
|||
(set! execlp
|
||||
(error-reporting-wrapper execlp (filename . args) filename))
|
||||
|
||||
(set! mkdir
|
||||
(error-reporting-wrapper mkdir (directory . args) directory))
|
||||
|
||||
(define (make-regexp* regexp . flags)
|
||||
"Like 'make-regexp' but error out if REGEXP is invalid, reporting the error
|
||||
nicely."
|
||||
|
|
Loading…
Reference in a new issue