Skip to content

Commit a2ada08

Browse files
committed
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
1 parent 45f87b7 commit a2ada08

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/tools/pgindent/perltidyrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
--add-whitespace
22
--backup-and-modify-in-place
3+
--backup-file-extension=/
34
--delete-old-whitespace
45
--entab-leading-whitespace=4
56
--keep-old-blank-lines=2

src/tools/pgindent/pgperltidy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,3 @@ PERLTIDY=${PERLTIDY:-perltidy}
1818
) |
1919
sort -u |
2020
xargs $PERLTIDY --profile=src/tools/pgindent/perltidyrc
21-
22-
# perltidyrc specifies --backup-and-modify-in-place, so get rid of .bak files
23-
find . -type f -name '*.bak' | xargs rm

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy