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 <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2017-02-19 11:47:26 +01:00
parent a8adc886b2
commit 9e8f3f47af
1 changed files with 1 additions and 1 deletions

View File

@ -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 \