Run the rm in the same subshell

This commit is contained in:
Peje Nilsson 2017-06-14 11:23:58 +00:00 committed by Eric S. Raymond
parent 7af0c7b059
commit b6db1731ed

View file

@ -40,7 +40,7 @@ regress:
if advent $$OPTS < $${file}.log >/tmp/regress$$$$ 2>&1; \ if advent $$OPTS < $${file}.log >/tmp/regress$$$$ 2>&1; \
then diff --text -u $${file}.chk /tmp/regress$$$$ || exit 1; \ then diff --text -u $${file}.chk /tmp/regress$$$$ || exit 1; \
else echo "*** Nonzero return status on $${file}!"; exit 1; fi \ else echo "*** Nonzero return status on $${file}!"; exit 1; fi \
done done; \
@rm -f /tmp/regress$$$$ rm -f /tmp/regress$$$$
# end # end