diff options
author | willson-chen <willson.chenwx@gmail.com> | 2020-04-24 14:25:30 +0800 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2020-06-13 13:37:38 -0700 |
commit | 86e9bfc8bb759004bf6eaed19dabe06ee9c44e7b (patch) | |
tree | 2f4ba086c2c34dabb0d555a090eb890c1dd1136f /doc | |
parent | 87cdaae249cf44e3c0b772f3388d72539c6794b5 (diff) | |
download | opus-86e9bfc8bb759004bf6eaed19dabe06ee9c44e7b.tar.gz |
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-x | doc/build_draft.sh | 2 |
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 |