From 86e9bfc8bb759004bf6eaed19dabe06ee9c44e7b Mon Sep 17 00:00:00 2001 From: willson-chen <willson.chenwx@gmail.com> Date: Fri, 24 Apr 2020 14:25:30 +0800 Subject: [PATCH] opus draft: fix run failed under dash [[ ]], the compound command is not supported by all shell interpreter. [ ], the buildin command is more common. Signed-off-by: Ralph Giles <giles@thaumas.net> --- doc/build_draft.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build_draft.sh b/doc/build_draft.sh index d15b22a79..548ac5cde 100755 --- a/doc/build_draft.sh +++ b/doc/build_draft.sh @@ -82,7 +82,7 @@ cat opus_source.tar.gz| base64 | tr -d '\n' | fold -w 64 | \ #echo '</artwork>' >> opus_compare_escaped.c #echo '</figure>' >> opus_compare_escaped.c -if [[ ! -d ../opus_testvectors ]] ; then +if [ ! -d ../opus_testvectors ] ; then echo "Downloading test vectors..." wget 'http://opus-codec.org/testvectors/opus_testvectors.tar.gz' tar -C .. -xvzf opus_testvectors.tar.gz -- GitLab