Skip to content

Commit e00398b

Browse files
committed
Makefile.SH - use new --fix option to manisort and simplify
The --fix option returns true if it worked, and so the use of the true command is not required.
1 parent a8eaf21 commit e00398b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.SH

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafile
667667
668668
$(MANIFEST_SRT): MANIFEST $(PERL_EXE)
669669
@$(RUN_PERL) Porting/manisort -q || (echo "WARNING: re-sorting MANIFEST"; \
670-
$(RUN_PERL) Porting/manisort -q -o MANIFEST; sh -c true)
670+
$(RUN_PERL) Porting/manisort --fix=MANIFEST)
671671
@touch $(MANIFEST_SRT)
672672
673673
.PHONY: all utilities
@@ -1287,7 +1287,7 @@ regen_all regen-all: regen regen_meta
12871287
12881288
manisort: FORCE
12891289
@perl Porting/manisort -q || (echo "WARNING: re-sorting MANIFEST"; \
1290-
perl Porting/manisort -q -o MANIFEST; sh -c true)
1290+
perl Porting/manisort --fix=MANIFEST)
12911291
12921292
manicheck: FORCE
12931293
perl Porting/manicheck

0 commit comments

Comments
 (0)