Run the rm in the same subshell
This commit is contained in:
parent
7af0c7b059
commit
b6db1731ed
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ regress:
|
|||
if advent $$OPTS < $${file}.log >/tmp/regress$$$$ 2>&1; \
|
||||
then diff --text -u $${file}.chk /tmp/regress$$$$ || exit 1; \
|
||||
else echo "*** Nonzero return status on $${file}!"; exit 1; fi \
|
||||
done
|
||||
@rm -f /tmp/regress$$$$
|
||||
done; \
|
||||
rm -f /tmp/regress$$$$
|
||||
|
||||
# end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue