Skip to content
Snippets Groups Projects
Commit be4f70bc authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

split model downloading away from autogen.sh

parent 82c31b4c
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,7 @@ test -n "$srcdir" && cd "$srcdir"
#SHA1 of the first commit compatible with the current model
commit=b7d25ac
if [ ! -f lpcnet_data-$commit.tar.gz ]; then
echo "Downloading latest model"
wget https://media.xiph.org/lpcnet/data/lpcnet_data-$commit.tar.gz
fi
tar xvf lpcnet_data-$commit.tar.gz
./download_model.sh $commit
echo "Updating build configuration files for lpcnet, please wait...."
......
#!/bin/sh
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
mv src/*.[ch] .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment