]> arthur.barton.de Git - bup.git/commitdiff
test-meta.sh: escape user/group expressions
authorRob Browning <rlb@defaultvalue.org>
Tue, 14 Oct 2014 17:20:14 +0000 (12:20 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 17 Oct 2014 16:13:13 +0000 (11:13 -0500)
Escape external user/group strings before passing them to 'grep -E',
otherwise calls like this will fail when the string includes regular
expression metacharacters:

Thanks to Pierre-Emmanuel Novac <piernov@gmail.com> for reporting the
problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>

No differences found