coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: init.cfg: fix a minor quoting bug


From: Jim Meyering
Subject: [PATCH] maint: init.cfg: fix a minor quoting bug
Date: Sun, 01 Jul 2018 09:12:25 -0700

To trigger the bug, you'd have to run "make check" as a user with
membership in no more than one group.

I noticed that syntax highlighting was all messed up for many lines
starting there.

>From 7ff3e79312f0a9b6bf2c3198cee5c32793ca3bf8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 1 Jul 2018 09:05:53 -0700
Subject: [PATCH] maint: init.cfg: fix a minor quoting bug

* init.cfg (require_membership_in_two_groups_): This fixes a bug
introduced by me in v8.15-8-gdd0e4c562.  Luckily, the consequence
of triggering the bug was the mere added backslash in the diagnostic:
"...but running id -G\ either...".
---
 init.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.cfg b/init.cfg
index 4259715c6..749d921c2 100644
--- a/init.cfg
+++ b/init.cfg
@@ -501,7 +501,7 @@ require_membership_in_two_groups_()
     *' '*) ;;
     *) skip_ 'requires membership in two groups
 this test requires that you be a member of more than one group,
-but running 'id -G'\'' either failed or found just one.  If you really
+but running '\''id -G'\'' either failed or found just one.  If you really
 are a member of at least two groups, then rerun this test with
 COREUTILS_GROUPS set in your environment to the space-separated list
 of group names or numbers.  E.g.,
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]