From c809ec94d11f1c7e23cccb988dfb1412aff72636 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 13 Dec 2014 00:06:32 +0100 Subject: utils: Change 'patch-makefile-SHELL' to support ":=" assignments. Reported by Ricardo Wurmus . * guix/build/utils.scm (patch-makefile-SHELL): Update regexp to match ":=" assignments. --- guix/build/utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/utils.scm b/guix/build/utils.scm index 01ac8961d8..be91fb467b 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -638,7 +638,7 @@ (define (find-shell name) (let ((st (stat file))) (substitute* file - (("^ *SHELL[[:blank:]]*=[[:blank:]]*([[:graph:]]*/)([[:graph:]]+)(.*)$" + (("^ *SHELL[[:blank:]]*:?=[[:blank:]]*([[:graph:]]*/)([[:graph:]]+)(.*)$" _ dir shell args) (let* ((old (string-append dir shell)) (new (or (find-shell shell) old))) -- cgit v1.2.3