[Android] Don't rebootstrap and configure, if we don't need to

Jean-Baptiste Kempf git at videolan.org
Thu May 22 16:41:02 CEST 2014


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 22 16:30:58 2014 +0200| [c3fa3d98c7e299529cf61e0f707e401ebd39ae20] | committer: Jean-Baptiste Kempf

Don't rebootstrap and configure, if we don't need to

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

 compile.sh |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/compile.sh b/compile.sh
index cc05049..451ff57 100755
--- a/compile.sh
+++ b/compile.sh
@@ -269,10 +269,12 @@ if [ $# -eq 1 ] && [ "$1" = "jni" ]; then
     TARGET="vlc-android/obj/local/armeabi-v7a/libvlcjni.so"
 else
     CLEAN="distclean"
-    echo "Bootstraping"
-    ../bootstrap
-    echo "Configuring"
-    ${ANDROID_PATH}/configure.sh $OPTS
+    if [ ! -f ../configure ]; then
+        echo "Bootstraping"
+        ../bootstrap
+        echo "Configuring"
+        ${ANDROID_PATH}/configure.sh $OPTS
+    fi
     TARGET=
 fi
 



More information about the Android mailing list