From 8953260d28cf1f7f36ff9a7a6e2fc8516941f151 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Sat, 27 Nov 2010 21:48:43 -0800 Subject: [PATCH] deps/test1.do: fix an == vs. = In sh's [] command, you should use =, not ==. I got away with this because bash accepts ==, but that's non-portable. --- t/deps/test1.do | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/deps/test1.do b/t/deps/test1.do index c09feb4..c695755 100644 --- a/t/deps/test1.do +++ b/t/deps/test1.do @@ -8,7 +8,7 @@ else fi redo-ifchange t1a # it definitely had to rebuild because t1dep changed AFTER="$(cat t1a)" -if [ "$BEFORE" == "$AFTER" ]; then +if [ "$BEFORE" = "$AFTER" ]; then echo "t1a was not rebuilt!" >&2 exit 43 fi