[PATCH] Use arithmetic compound syntax instead of 'let'.

Ralph Giles giles at thaumas.net
Tue Nov 25 13:21:30 PST 2014


Fixes a synax error with 'make check' on MacOS X.

I also fixed the eccentric indent.
---
 test/test_compression.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test_compression.sh b/test/test_compression.sh
index 022ff8e..7507024 100755
--- a/test/test_compression.sh
+++ b/test/test_compression.sh
@@ -38,8 +38,8 @@ for k in 0 1 2 3 4 5 6 7 8 ; do
 	if test ${last_size} -lt ${size} ; then
 		echo "Error : Compression ${last_k} size $last_size >= compression $k size $size."
 		exit 1
-		fi
-	let last_size=${size}+10
+	fi
+	((last_size=${size}+10))
 	last_k=${k}
 	rm -f ${fname}
-	done
+done
-- 
1.8.5.2 (Apple Git-48)


--------------060308050600050202040806--


More information about the flac-dev mailing list