Displaying 1 result from an estimated 1 matches for "cmd_path".
2015 Aug 04
0
[PATCH] Make it possible to pass in paths to opus_demo and opus_compare.
...o the script completes in a
reasonable amount of time.
---
tests/run_vectors.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/run_vectors.sh b/tests/run_vectors.sh
index 116a743..1d447c4 100755
--- a/tests/run_vectors.sh
+++ b/tests/run_vectors.sh
@@ -45,8 +45,8 @@ CMD_PATH=$1
VECTOR_PATH=$2
RATE=$3
-OPUS_DEMO=$CMD_PATH/opus_demo
-OPUS_COMPARE=$CMD_PATH/opus_compare
+: ${OPUS_DEMO:=$CMD_PATH/opus_demo}
+: ${OPUS_COMPARE:=$CMD_PATH/opus_compare}
if [ -d $VECTOR_PATH ]; then
echo Test vectors found in $VECTOR_PATH
--
2.3.2 (Apple Git-55)