mirror of
https://github.com/xiph/opus.git
synced 2025-05-16 00:18:29 +00:00

Otherwise, in addition to preventing autogen.sh from failing cleanly, the touch command at the end creates a spurious file named 'src/nnet_data.[ch]' (because the globbing fails if the files do not already exist).
12 lines
226 B
Bash
Executable file
12 lines
226 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
model=lpcnet_data-$1.tar.gz
|
|
|
|
if [ ! -f $model ]; then
|
|
echo "Downloading latest model"
|
|
wget https://media.xiph.org/lpcnet/data/$model
|
|
fi
|
|
tar xvf $model
|
|
touch src/nnet_data.[ch]
|
|
mv src/*.[ch] .
|