[email protected] wrote:
> 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 \

Wasn't this a simple matter of the missing trailing backslash on the line above?

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

Reply via email to