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: