mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
build: minetest-build-system: Match name more strictly.
Some Minetest mods, such as the hitherto unpackaged minetest-ambience, have trailing garbage space (e.g. carriage returns) in their name line, that would otherwise end up as part of the mod's directory name. * guix/build/minetest-build-system.scm (name-regexp): Only match graphical characters in the name sub-match. Change-Id: I95f4c201724991a10efba5c859bfef99779ea495 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
42316acc7e
commit
9ce47b6fdd
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ (define files (find-files "." ".png$"))
|
|||
(/ total-old-size (expt 1024 2))
|
||||
(/ total-new-size (expt 1024 2)))))))
|
||||
|
||||
(define name-regexp (make-regexp "^name[ ]*=(.+)$"))
|
||||
(define name-regexp
|
||||
(make-regexp "^name[[:space:]]*=[[:space:]]*([[:graph:]]+)[[:space:]]*$"))
|
||||
|
||||
(define* (read-mod-name mod.conf #:optional not-found)
|
||||
"Read the name of a mod from MOD.CONF. If MOD.CONF
|
||||
|
|
Loading…
Reference in a new issue