[yocto] [opkg-utils PATCH] Makefile: fixed for-loop in install receipe

Joshua DeWeese josh.deweese at gmail.com
Wed May 29 12:03:11 PDT 2019


From: Joshua DeWeese <jdeweese at hennypenny.com>

The install receipe would have copied all the manpages to each of the
section folders. This change will do what I believe the original
author had intended.

Signed-off-by: Joshua DeWeese <jdeweese at hennypenny.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 69a1c5a..817a8c1 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ install: all
 	for m in $(MANPAGES); \
 	do \
 		install -d $(DESTDIR)$(mandir)/man$${m##*.}; \
-		install -m 644 $(MANPAGES) $(DESTDIR)$(mandir)/man$${m##*.}; \
+		install -m 644 "$$m" $(DESTDIR)$(mandir)/man$${m##*.}; \
 	done
 
 .PHONY: install all
-- 
2.7.4



More information about the yocto mailing list