You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <Ma...@mch.sni.de> on 1997/09/04 10:45:37 UTC
[IMPROV] funny effect in apachen/Makefile
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".
See patch.
Martin
--
| S I E M E N S | <Ma...@mch.sni.de> | Siemens Nixdorf
| ------------- | Voice: +49-89-636-46021 | Informationssysteme AG
| N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request