utils: Clean trailing whitespace at end of SHELL

* guix/build/utils.scm (patch-makefile-SHELL): Remove trailing whitespace.
This commit is contained in:
Eric Bavier 2014-09-04 09:19:24 -05:00
parent 6646747c02
commit 1145938496

View file

@ -582,7 +582,7 @@ (define (find-shell name)
(let ((st (stat file)))
(substitute* file
(("^ *SHELL[[:blank:]]*=[[:blank:]]*([[:graph:]]*/)([[:graph:]]+)[[:blank:]]*(.*)$"
(("^ *SHELL[[:blank:]]*=[[:blank:]]*([[:graph:]]*/)([[:graph:]]+)(.*)$"
_ dir shell args)
(let* ((old (string-append dir shell))
(new (or (find-shell shell) old)))
@ -590,7 +590,7 @@ (define (find-shell name)
(format (current-error-port)
"patch-makefile-SHELL: ~a: changing `SHELL' from `~a' to `~a'~%"
file old new))
(string-append "SHELL = " new " " args))))
(string-append "SHELL = " new args))))
(when keep-mtime?
(set-file-time file st))))