[Android] compile-medialibrary: Fix checkout

Hugo Beauzée-Luyssen git at videolan.org
Fri Feb 8 09:22:23 CET 2019


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb  8 09:22:10 2019 +0100| [49e0b7371cc91906c93800ccfcc7acf122b41870] | committer: Hugo Beauzée-Luyssen

compile-medialibrary: Fix checkout

> https://code.videolan.org/videolan/vlc-android/commit/49e0b7371cc91906c93800ccfcc7acf122b41870
---

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

diff --git a/compile-medialibrary.sh b/compile-medialibrary.sh
index fa06103bd..81b9929ef 100755
--- a/compile-medialibrary.sh
+++ b/compile-medialibrary.sh
@@ -120,9 +120,9 @@ checkfail "sqlite build failed"
 if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/medialibrary" ]; then
     echo -e "\e[1m\e[32mmedialibrary source not found, cloning\e[0m"
     git clone http://code.videolan.org/videolan/medialibrary.git "${SRC_DIR}/medialibrary/medialibrary"
-    git checkout 0.4.x
     checkfail "medialibrary source: git clone failed"
     cd ${MEDIALIBRARY_MODULE_DIR}/medialibrary
+    git checkout 0.4.x
     git submodule update --init libvlcpp
 else
     cd ${MEDIALIBRARY_MODULE_DIR}/medialibrary



More information about the Android mailing list