From bd4838a155d8e1f918168338d38e64a23761d32c Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 29 Mar 2012 14:42:24 +0200 Subject: [PATCH] prepare_sources raise an error if the path to the ndk not passed as parameter --- prepare_sources.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prepare_sources.sh b/prepare_sources.sh index b0aa8dc7a..e4efa2201 100755 --- a/prepare_sources.sh +++ b/prepare_sources.sh @@ -2,6 +2,12 @@ topdir=`pwd` +if [ $# -ne 1 ] +then + "Error : path to the ndk as parameter." + exit 65 +fi + cd submodules/externals/ffmpeg if test -z "`git status | grep neon`" ; then echo "Applying patch to ffmpeg"