]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10056: Fix modcheck.sh invokation
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 19 Feb 2017 10:47:26 +0000 (11:47 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 19 Feb 2017 10:49:54 +0000 (11:49 +0100)
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>
build/Makefile.am

index 61ac412d4223601efcd07d5f7f3dc7fa4434a8fc..636cb8503e3ef5b09b4d651e3d0beb386e0d8367 100644 (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 \