gnu: lm-sensors: Patch references to ‘egrep’.
authorNicolò Balzarotti <anothersms@gmail.com>
Sun, 17 May 2020 12:46:25 +0000 (14:46 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sun, 17 May 2020 15:08:24 +0000 (17:08 +0200)
* gnu/packages/linux.scm (lm-sensors)[arguments]: Patch unqualified
references to ‘egrep’ as well as ‘grep’.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
gnu/packages/linux.scm

index aa52068..750111f 100644 (file)
@@ -3541,9 +3541,9 @@ country-specific regulations for the wireless spectrum.")
                (("cat ")
                 (string-append (assoc-ref inputs "coreutils")
                                "/bin/cat "))
-               (("grep ")
+               (("e?grep " match)
                 (string-append (assoc-ref inputs "grep")
-                               "/bin/grep "))
+                               "/bin/" match))
                (("sed -e")
                 (string-append (assoc-ref inputs "sed")
                                "/bin/sed -e"))