[Android] compile.sh: Remove invalid variable in folder test

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:18:46 2021 +0100| [1b9af9044ad945f9cebba8aa9467b85c7d85a1ea] | committer: Nicolas Pomepuy

compile.sh: Remove invalid variable in folder test

$1 is either empty or contains --copy-tmp=xxxx which is not what this
test expects, since the libvlc/jni/libs folder it expected to contains
per-arch build folders

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

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

diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 019d2e7c3..3fd05911e 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -332,7 +332,7 @@ compile() {
     OUT_DBG_DIR=.dbg/${ANDROID_ABI}
     mkdir -p $OUT_DBG_DIR
 
-    if [ "$BUILD_MEDIALIB" != 1 -o ! -d "libvlc/jni/libs/$1" ]; then
+    if [ "$BUILD_MEDIALIB" != 1 -o ! -d "libvlc/jni/libs/" ]; then
         AVLC_SOURCED=1 . buildsystem/compile-libvlc.sh
         avlc_build
 



More information about the Android mailing list