[Android] [PATCH] compile: Fix check on FETCH value

Alexandre Lision alexandre.lision at gmail.com
Mon Oct 27 21:29:01 CET 2014


TESTED_HASH was checked out every time, since value of FETCH was not
read (only its existence was verified)
---
 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
-- 
1.9.3



More information about the Android mailing list