Cleanup EXIT_ON_ERRORS in LOOP_OVER_DIRS. r=cls

This commit is contained in:
slamm%netscape.com 2000-03-02 20:45:23 +00:00
parent f39902d25a
commit 6887d46636

View File

@ -238,20 +238,20 @@ UPDATE_TITLE = echo "]2;gmake: $@ in $(shell $(topsrcdir)/build/autoconf/print-
endif
ifndef BUILD_OFFICIAL
# "Official" build only: Continue past errors.
CONTINUE_ON_ERROR := set -e;
EXIT_ON_ERROR := set +e;
# Without "set -e", shell loops continue past errors.
EXIT_ON_ERROR := set -e;
else
# "Official" build only: Continue past errors.
EXIT_ON_ERROR :=
PRINT_TIMESTAMP := date;
endif
ifdef DIRS
LOOP_OVER_DIRS = \
@for d in $(DIRS); do \
@$(EXIT_ON_ERROR) \
for d in $(DIRS); do \
$(UPDATE_TITLE) \
$(CONTINUE_ON_ERROR) \
$(MAKE) -C $$d $@; \
$(EXIT_ON_ERROR) \
$(PRINT_TIMESTAMP) \
done
endif