[Android] compile: Fix check on FETCH value

Alexandre Lision git at videolan.org
Tue Oct 28 09:18:56 CET 2014


vlc-ports/android | branch: master | Alexandre Lision <alexandre.lision at gmail.com> | Mon Oct 27 16:29:01 2014 -0400| [947556dd79a4f848547cf2fe2a6e915deb374335] | committer: Thomas Guillem

compile: Fix check on FETCH value

TESTED_HASH was checked out every time, since value of FETCH was not
read (only its existence was verified)

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=947556dd79a4f848547cf2fe2a6e915deb374335
---

 compile.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index bd08b23..39810c2 100755
--- a/compile.sh
+++ b/compile.sh
@@ -167,7 +167,7 @@ export PATH=${NDK_TOOLCHAIN_PATH}:${PATH}
 ANDROID_PATH="`pwd`"
 
 # Fetch VLC source
-if [ ! -z "$FETCH" ]
+if [ "$FETCH" = 1 ]
 then
     # 1/ libvlc, libvlccore and its plugins
     TESTED_HASH=6e2f490



More information about the Android mailing list