Commit a2ada08d authored by Peter Eisentraut's avatar Peter Eisentraut

perltidy: Don't write backup files

Newer perltidy versions can just avoid writing backup files, so we don't
need the old dance of deleting them afterwards.  Supported since 20120619.

https://metacpan.org/source/SHANCOCK/Perl-Tidy-20120619/CHANGES#L61
parent 45f87b77
--add-whitespace
--backup-and-modify-in-place
--backup-file-extension=/
--delete-old-whitespace
--entab-leading-whitespace=4
--keep-old-blank-lines=2
......
......@@ -18,6 +18,3 @@ PERLTIDY=${PERLTIDY:-perltidy}
) |
sort -u |
xargs $PERLTIDY --profile=src/tools/pgindent/perltidyrc
# perltidyrc specifies --backup-and-modify-in-place, so get rid of .bak files
find . -type f -name '*.bak' | xargs rm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment