Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwillson-chen <willson.chenwx@gmail.com>2020-04-24 09:25:30 +0300
committerRalph Giles <giles@thaumas.net>2020-06-13 23:37:38 +0300
commit86e9bfc8bb759004bf6eaed19dabe06ee9c44e7b (patch)
tree2f4ba086c2c34dabb0d555a090eb890c1dd1136f /doc
parent87cdaae249cf44e3c0b772f3388d72539c6794b5 (diff)
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>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/build_draft.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build_draft.sh b/doc/build_draft.sh
index d15b22a7..548ac5cd 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