mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-22 09:05:54 +02:00
gnu: netpbm: Delete files natively.
* gnu/packages/netpbm.scm (netpbm)[arguments]: Delete files with DELETE-FILE-RECURSIVELY instead of invoking ‘rm’.
This commit is contained in:
@@ -171,12 +171,10 @@
|
||||
(apply invoke "make" "package"
|
||||
(string-append "pkgdir=" out) make-flags)
|
||||
;; Remove superfluous files.
|
||||
(invoke "rm" "-r" (string-append out "/link"))
|
||||
(invoke "rm" "-r" (string-append out "/misc"))
|
||||
(with-directory-excursion out
|
||||
(for-each delete-file
|
||||
'("config_template" "pkginfo" "README"
|
||||
"VERSION")))
|
||||
(for-each delete-file-recursively
|
||||
'("config_template" "pkginfo" "README" "VERSION"
|
||||
"link/" "misc/")))
|
||||
#t))))))
|
||||
(synopsis "Toolkit for manipulation of images")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user