httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r822670 - /httpd/mod_fcgid/trunk/Makefile.apxs
Date Wed, 07 Oct 2009 11:29:52 GMT
Author: trawick
Date: Wed Oct  7 11:29:52 2009
New Revision: 822670

URL: http://svn.apache.org/viewvc?rev=822670&view=rev
Log:
fix make install syntax error on at least OpenSolaris and Linux

Modified:
    httpd/mod_fcgid/trunk/Makefile.apxs

Modified: httpd/mod_fcgid/trunk/Makefile.apxs
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/Makefile.apxs?rev=822670&r1=822669&r2=822670&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/Makefile.apxs (original)
+++ httpd/mod_fcgid/trunk/Makefile.apxs Wed Oct  7 11:29:52 2009
@@ -42,14 +42,14 @@
 	@$(MKINSTALLDIRS) $(DESTDIR)$(exp_sysconfdir) \
 			  $(DESTDIR)$(exp_sysconfdir)/original
 	for i in $(DESTDIR)$(httpd_conffile) $(DESTDIR)$(httpd_origconffile); do \
-	    if test -f $$i; then (
+	    if test -f $$i; then \
 		awk -f $(fcgid_srcdir)/build/addloadexample.awk \
 		    -v MODULE=fcgid -v DSO=.so -v LIBPATH=$(rel_libexecdir) \
 		    -v EXAMPLECONF=$(rel_sysconfdir)/extra/httpd-fcgid.conf \
 		    $$i > $$i.new && \
-		mv $$i $$i.bak && mv $$i.new $$i \
-	) \
-	fi;
+		mv $$i $$i.bak && mv $$i.new $$i; \
+	    fi; \
+	done 
 
 install-conf-unused:
 	@$(MKINSTALLDIRS) $(DESTDIR)$(exp_sysconfdir)/extra \



Mime
View raw message