Fix 'reformat' mk target to handle recent libdir changes.

This commit is contained in:
Graydon Hoare 2011-06-20 15:53:23 +00:00
parent 992153672b
commit 1ad8efa86e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L no-reformat)
reformat: $(SREQ1)
@$(call E, reformat [stage1]: $@)
for i in $(PP_INPUTS_FILTERED); \
do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
do $(call CFG_RUN_TARG,stage0, stage1/rustc$(X)) \
--pretty normal $$i >$$i.tmp; \
if cmp --silent $$i.tmp $$i; \
then echo no changes to $$i; rm $$i.tmp; \