From 08a8215155d2c29674eb9e000b365367582ff910 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <othacehe@gnu.org>
Date: Mon, 18 Jan 2021 16:16:26 +0100
Subject: [PATCH] Fix binary generation.

* Makefile.am (install-exec-hook): Process all binaries.
---
 Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 280ccae7..76797236 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -252,9 +252,8 @@ nobase_dist_pkgdata_DATA =			\
 
 # Ensure that the scripts will find their module directories.
 install-exec-hook:
-	$(SED) \
-	  -e 's,^#GUILE_LOAD,GUILE_LOAD,g' \
-	  -i $(DESTDIR)$(bindir)/cuirass
+	@find $(DESTDIR)$(bindir) -type f -exec \
+	$(SED) -i -e 's,^#GUILE_LOAD,GUILE_LOAD,g' {} ';'
 
 ## -------------- ##
 ## Silent rules.  ##
-- 
GitLab