W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2012

link-checker commit: perltidy: Do not leave backups behind if there are no errors.

From: Mercurial notifier <nobody@w3.org>
Date: Mon, 16 Jul 2012 14:27:45 +0000
Message-Id: <E1SqmH3-0004yv-6W@mcbain.w3.org>
To: link-checker updates <www-validator-cvs@w3.org>
changeset:   413:b5eeb0309d3c
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Mon Jul 16 17:27:04 2012 +0300
files:       Makefile.PL
description:
perltidy: Do not leave backups behind if there are no errors.


diff -r d78f0dc4e6fb -r b5eeb0309d3c Makefile.PL
--- a/Makefile.PL	Wed Nov 23 00:01:40 2011 +0200
+++ b/Makefile.PL	Mon Jul 16 17:27:04 2012 +0300
@@ -94,7 +94,8 @@
 	$(ECHO) "\$$VERSION = \"$(VERSION)\";"               >> $@
 	$(ECHO) "1;"                                         >> $@
 
-PERLTIDY = perltidy --profile=etc/perltidyrc --backup-and-modify-in-place
+PERLTIDY = perltidy --profile=etc/perltidyrc --backup-and-modify-in-place \
+	--backup-file-extension=/
 
 perltidy:
 	@for file in Makefile.PL bin/checklink ; do \
Received on Monday, 16 July 2012 14:27:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:50 UTC