httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.org>
Subject cvs commit: apachen Makefile
Date Tue, 16 Sep 1997 04:04:21 GMT
dgaudet     97/09/15 21:04:20

  Modified:    .        Makefile
  Log:
  > On one of teh machines here, it appears as if the shell which is invoked
  > in apachen/Makefile's line...
  > src/httpd:
  > 	(cd src; \
  > 	  test ! -f Configuration && cp Configuration.tmpl Configuration; \
  > 	  ./Configure -file Configuration; $(MAKE) all support)
  > has an implicit "-e" switch set. I've never read about such a behavior,
  > or why this would be caused, but tracing by setting "set -x" in the (..)
  > reveals that the "test" in "test ... && cp ..." is the last executed
  > statement, then the (...) returns with an exitcode of nonzero.
  >
  > I don't know if this happens anywhere else, too, but the "defensive"
  > improvement to avoid such a trap could be the addition of a "||true".
  
  Submitted by:	Martin Kraemer
  Reviewed by:	Dean Gaudet
  
  Revision  Changes    Path
  1.2       +1 -1      apachen/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /export/home/cvs/apachen/Makefile,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile	1997/08/19 23:00:20	1.1
  +++ Makefile	1997/09/16 04:04:19	1.2
  @@ -12,7 +12,7 @@
   
   src/httpd:
   	(cd src; \
  -	  test ! -f Configuration && cp Configuration.tmpl Configuration; \
  +	  test ! -f Configuration && cp Configuration.tmpl Configuration || true; \
   	  ./Configure -file Configuration; $(MAKE) all support)
   
   lint: 
  
  
  

Mime
View raw message