From 552afac692e6aae245639dfec3bb322e6523bb90 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 3 Jun 2014 13:22:41 +1000 Subject: [PATCH] use ' {8}' instead of 8 literal spaces --- util/update_copyrights | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/update_copyrights b/util/update_copyrights index 79cf8b74de..75dcdec4be 100644 --- a/util/update_copyrights +++ b/util/update_copyrights @@ -507,7 +507,7 @@ foreach $file (keys %file_types) { s/^(\t*) {1,7}\t/$1\t/ while (/^\t* {1,7}\t/); # Convert 8 spaces into tabs if at start of line # or preceeded by tabs. - s/^(\t*) /$1\t/ while (/^\t* /); + s/^(\t*) {8}/$1\t/ while (/^\t* {8}/); # Remove trailing white space. s/[ \t]*$//; $body = "$body$_";