shithub: opus

Download patch

ref: 86e9bfc8bb759004bf6eaed19dabe06ee9c44e7b
parent: 87cdaae249cf44e3c0b772f3388d72539c6794b5
author: willson-chen <[email protected]>
date: Fri Apr 24 10:25:30 EDT 2020

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 <[email protected]>

--- a/doc/build_draft.sh
+++ b/doc/build_draft.sh
@@ -82,7 +82,7 @@
 #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