[Android] fix bashism

Rafaël Carré git at videolan.org
Tue Oct 30 17:40:52 CET 2012


vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 30 17:40:42 2012 +0100| [4cbdf98930073875ab6346769cabc5e607e5617e] | committer: Rafaël Carré

fix bashism

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

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

diff --git a/compile.sh b/compile.sh
index 54484d2..bf025f3 100755
--- a/compile.sh
+++ b/compile.sh
@@ -171,7 +171,7 @@ cd contrib/android
 [ ${ANDROID_ABI} = "armeabi-v7a" ] && echo "NOTHUMB := -marm" >> config.mak
 
 # Release or not?
-if [ $# -ne 0 ] && [ "$1" == "release" ]; then
+if [ $# -ne 0 ] && [ "$1" = "release" ]; then
     OPTS=""
     EXTRA_CFLAGS="${EXTRA_CFLAGS} -DNDEBUG "
     RELEASEFLAG="RELEASE=1"



More information about the Android mailing list