Thanks, applied with a slightly changed description.


On Thu, Dec 24, 2015 at 3:51 PM, Andreas Metzler <g...@bebt.de> wrote:
> Hello,
>
> find attached a trivial patch to fix another [[ ]] bashism.
>
> cu Andreas
> --
> `What a good friend you are to him, Dr. Maturin. His other friends are
> so grateful to you.'
> `I sew his ears on from time to time, sure'



-- 
--
This email is intended solely for the use of its addressee, sender,
and any readers of a mailing list archive in which it happens to
appear.   If you have received this email in error, please say or type
three times, "I believe in the utility of email disclaimers," and then
reply to the author correcting any spellings (and, optionally, any
incorrect spellings), accompanying these with humorous jests about the
author's parentage.   If you are not the addressee, you are
nevertheless permitted to both copy and forward this email since
without such permissions email systems are unable to transmit email to
anybody, intended recipient or not.  To those still reading by this
point, the author would like to apologise for being unable to maintain
a consistent level of humour throughout this disclaimer.  Contents may
settle during transit.  Do not feed the animals.
From a6a525cdb26146ccf75595024986df90e464c51e Mon Sep 17 00:00:00 2001
From: Andreas Metzler <ametz...@bebt.de>
Date: Thu, 24 Dec 2015 16:02:55 +0100
Subject: [PATCH] Fix bashism ([[ ... ]] instead of [ ... ]).
To: findutils-patc...@gnu.org

* find/testsuite/test_escape_c.sh: Use [...] instead of [[...]].
---
 find/testsuite/test_escape_c.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/find/testsuite/test_escape_c.sh b/find/testsuite/test_escape_c.sh
index 76ede34..9794a86 100755
--- a/find/testsuite/test_escape_c.sh
+++ b/find/testsuite/test_escape_c.sh
@@ -28,7 +28,7 @@ do
 	    -printf 'hello^\cthere' \
 	    -exec printf %s {} \; \
 	    -printf '^world\n' )"; then
-        if [[ "${result}" != "${expected}" ]]; then
+        if [ "${result}" != "${expected}" ]; then
             exec >&2
             echo "$executable produced incorrect output:"
             echo "${result}"
-- 
2.1.4

Reply via email to