From 606cd72f906623e2c7a3950a51055e562e75b882 Mon Sep 17 00:00:00 2001 From: Bryce Nordgren Date: Thu, 25 Oct 2012 22:52:29 +0000 Subject: [PATCH] Fixed small bug in install phase, where mod_security2.so ignores $DESTDIR --- apache2/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/Makefile.am b/apache2/Makefile.am index 1d233162c8..df5af5551b 100644 --- a/apache2/Makefile.am +++ b/apache2/Makefile.am @@ -71,5 +71,5 @@ install-exec-hook: $(pkglib_LTLIBRARIES) for m in $(pkglib_LTLIBRARIES); do \ base=`echo $$m | sed 's/\..*//'`; \ rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \ - cp -p $(DESTDIR)$(pkglibdir)/$$base.so $(APXS_MODULES); \ + install -D -m444 $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \ done