exit on error inside the README EOL conversion for loop r=bsmedberg b=351476

This commit is contained in:
rhelmer@mozilla.com 2007-10-02 13:10:02 -07:00
parent 0b5d962edb
commit 84791223b3

View File

@ -128,6 +128,7 @@ PROFILE_CHROME = userChrome-example.css userContent-example.css
libs:: $(addprefix $(LOCALE_SRCDIR)/,$(README_FILES))
ifeq ($(OS_ARCH),WINNT)
$(EXIT_ON_ERROR) \
for file in $^; do \
$(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $$file > $(FINAL_TARGET)/`basename $$file`; \
done