Bug 538723: run_for_effect is not portable for Bourne shell r=ted.mielczarek

This commit is contained in:
Ginn Chen 2010-03-08 17:30:40 +08:00
Родитель acc21b6fba
Коммит 6eef266302
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -117,7 +117,7 @@ check::
echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary!"; \ echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary!"; \
false; \ false; \
fi fi
@if ! test -f ./unify-test-universal; then \ @if test ! -f ./unify-test-universal; then \
echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary!"; \ echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary!"; \
false; \ false; \
fi fi
@ -136,7 +136,7 @@ check::
echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to unify a Java class file!"; \ echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to unify a Java class file!"; \
false; \ false; \
fi fi
@if ! test -f ./unifytestc.class; then \ @if test ! -f ./unifytestc.class; then \
echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to unify a Java class file!"; \ echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to unify a Java class file!"; \
false; \ false; \
fi fi

Просмотреть файл

@ -1,5 +1,5 @@
$(shell \ $(shell \
if ! test -f include-dynamic.inc; then \ if test ! -f include-dynamic.inc; then \
echo "TESTVAR = oldval" > include-dynamic.inc; \ echo "TESTVAR = oldval" > include-dynamic.inc; \
sleep 2; \ sleep 2; \
echo "TESTVAR = newval" > include-dynamic.inc.in; \ echo "TESTVAR = newval" > include-dynamic.inc.in; \

Просмотреть файл

@ -73,7 +73,7 @@ stage/javaconnect/.done:
javaconnect.js: stage/javaconnect/.done javaconnect.js: stage/javaconnect/.done
@echo Creating $@... @echo Creating $@...
rm -f javaconnect.js rm -f javaconnect.js
@if ! test -e "javaconnect.jst"; then \ @if test ! -e "javaconnect.jst"; then \
$(INSTALL) -m 644 $(srcdir)/javaconnect.jst .; \ $(INSTALL) -m 644 $(srcdir)/javaconnect.jst .; \
fi fi
$(PERL) $(topsrcdir)/toolkit/mozapps/installer/makejs.pl javaconnect.jst \ $(PERL) $(topsrcdir)/toolkit/mozapps/installer/makejs.pl javaconnect.jst \