[Android] compile-medialibrary.sh: Fix comparison when RESET isn't set

Hugo Beauzée-Luyssen git at videolan.org
Thu Jan 6 13:11:10 UTC 2022


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec  3 14:51:46 2021 +0100| [ddf18fe95fa84911b326a5f7ca429c0ba1204948] | committer: Nicolas Pomepuy

compile-medialibrary.sh: Fix comparison when RESET isn't set

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

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

diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index 7f630cab3..fbb68aaf8 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -104,7 +104,7 @@ if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/medialibrary" ]; then
   # TODO: remove when switching to VLC 4.0
   cd libvlcpp
   git am ${SRC_DIR}/buildsystem/patches/libvlcpp/*
-elif [ $RESET -eq 1 ]; then
+elif [ "$RESET" = "1" ]; then
     cd ${SRC_DIR}/medialibrary/medialibrary
     git reset --hard ${MEDIALIBRARY_HASH}
     git submodule update --init libvlcpp



More information about the Android mailing list