libreboot-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lbwww-build][PATCH v1 2/5] configure.ac: Depend on grep


From: Adrien Bourmault
Subject: Re: [lbwww-build][PATCH v1 2/5] configure.ac: Depend on grep
Date: Tue, 4 Apr 2023 14:48:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1

Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>

Le 03/04/2023 à 17:21, Denis 'GNUtoo' Carikli a écrit :
The grep command is required by untitled: If we remove grep in the
guix shell and that we run make build, we end up with the following
error:
     Cleaning generated files from site: 'lbwww'
     ./build: line 530: grep: command not found
     ./build: line 530: grep: command not found
     ./build: line 530: grep: command not found
     www/lbwww/site.cfg does not specify DOMAIN. Exiting
     make: *** [Makefile:585: build] Error 1

So it is a good idea to check for make as the build.sh script can also
be used manually without Guix.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
  configure.ac | 1 +
  1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 953fd69..aea8f7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ AC_SUBST([LBWWW_GIT_FOUND], [])
  AC_CHECK_PROG([CAT], [cat], [cat])
  AC_CHECK_PROG([CP], [cp], [cp])
  AC_CHECK_PROG([CURL], [curl], [curl])
+AC_CHECK_PROG([GREP], [grep], [grep])
  AC_CHECK_PROG([GUIX], [guix], [guix])
  AC_CHECK_PROG([PRINTF], [printf], [printf])
  AC_CHECK_PROG([REALPATH], [realpath], [realpath])



Attachment: OpenPGP_0xAAD6B069819E6979.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]