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'
>From 1b31336687cd6ede5b8ca4730b1c407d9d5d330b 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 [ ... ]).

---
 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.6.4

Reply via email to