mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
utils: Rename 'wrapper?' to 'wrapped-program?'.
* guix/build/utils.scm (wrap-program): The wrapper? procedure is incorrectly named as it actually checks to see if prog is the original program that was moved, not the wrapper. * guix/build/python-build-system: (wrap): Use renamed wrapped-program?. * gnu/packages/ebook.scm (calibre)[arguments]: Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d115747362
commit
b2b799e2d8
3 changed files with 5 additions and 5 deletions
|
@ -225,7 +225,7 @@ running checks after installing the package."
|
|||
(define (list-of-files dir)
|
||||
(find-files dir (lambda (file stat)
|
||||
(and (eq? 'regular (stat:type stat))
|
||||
(not (wrapper? file))))))
|
||||
(not (wrapped-program? file))))))
|
||||
|
||||
(define bindirs
|
||||
(append-map (match-lambda
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue