From 9e8f3f47af0781a1ab060fc2a24941c23d971a9a Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 19 Feb 2017 11:47:26 +0100 Subject: [PATCH] FS-10056: Fix modcheck.sh invokation modcheck.sh gets called by build/Makefile when doing "make install" with parameter "$(modulesdir)". This is fine when the install is done on a live system. But when "make install" was called with a "$DESTDIR" then this won't work, as the correct path would then be "$(DESTDIR)$(modulesdir)". So add "$(DESTDIR)" in front. Signed-off-by: Sebastian Kemper --- build/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Makefile.am b/build/Makefile.am index 61ac412d42..636cb8503e 100644 --- a/build/Makefile.am +++ b/build/Makefile.am @@ -71,7 +71,7 @@ install: @echo " + +" @echo " +-------------------------------------------------+" @cat $(switch_srcdir)/cluecon2.tmpl - @sh $(switch_srcdir)/build/modcheck.sh $(modulesdir) + @sh $(switch_srcdir)/build/modcheck.sh $(DESTDIR)$(modulesdir) .PHONY: check dvi html info install-data \ install-dvi install-exec install-html install-info install-pdf install-ps installcheck installdirs pdf \