From: Sebastian Kemper Date: Sun, 19 Feb 2017 10:47:26 +0000 (+0100) Subject: FS-10056: Fix modcheck.sh invokation X-Git-Tag: v1.8.0~821^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e8f3f47af0781a1ab060fc2a24941c23d971a9a;p=thirdparty%2Ffreeswitch.git 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 --- 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 \