prepare_sources raise an error if the path to the ndk not passed as parameter

This commit is contained in:
Sylvain Berfini 2012-03-29 14:42:24 +02:00
parent e9b307a18a
commit bd4838a155

View file

@ -2,6 +2,12 @@
topdir=`pwd` topdir=`pwd`
if [ $# -ne 1 ]
then
"Error : path to the ndk as parameter."
exit 65
fi
cd submodules/externals/ffmpeg cd submodules/externals/ffmpeg
if test -z "`git status | grep neon`" ; then if test -z "`git status | grep neon`" ; then
echo "Applying patch to ffmpeg" echo "Applying patch to ffmpeg"