summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Bray <pdb_ml@yahoo.com.au>2015-07-15 11:37:20 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-15 11:39:49 +0100
commita652e7b63ed3968e41b7c9ce4df52938ba356b74 (patch)
tree9cedba529f0b770de4a33e9bd691460a8ccd3b98 /doc
parent9d2597161d259df3f4ab73a33a832010ea3e4d58 (diff)
downloadcoreutils-a652e7b63ed3968e41b7c9ce4df52938ba356b74.tar.xz
tests: avoid test warning with perl >= 5.22
* doc/local.mk (sc-lower-case-var): Escape a literal left curly bracket, needed with perl >= 5.22 Fixes http://bugs.gnu.org/21060
Diffstat (limited to 'doc')
-rw-r--r--doc/local.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/local.mk b/doc/local.mk
index a7d2411e7..37c5621e3 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -113,8 +113,8 @@ sc-avoid-zeroes:
# The leading backslash exemption is to permit in-macro uses like
# @var{\varName\} where the upper case letter is part of a parameter name.
find_upper_case_var = \
- '/\@var{/ or next; \
- while (/\@var{(.+?)}/g) \
+ '/\@var\{/ or next; \
+ while (/\@var\{(.+?)}/g) \
{ \
$$v = $$1; \
$$v =~ /[A-Z]/ && $$v !~ /^\\/ and (print "$$ARGV:$$.:$$_"), $$m = 1 \