[Android] buildsystem: make gradlew executable before calling it

Steve Lhomme git at videolan.org
Tue Jul 1 07:34:49 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 24 07:27:35 2025 +0200| [8869b628c05a4752cf21e829e40ace241f7253d1] | committer: Steve Lhomme

buildsystem: make gradlew executable before calling it

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

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

diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 6f54d5cb00..045d261e47 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -265,8 +265,8 @@ if [ ! -d "gradle/wrapper" ]; then
 
     ./gradle-${GRADLE_VERSION}/bin/gradle wrapper || fail "gradle: wrapper failed"
 
-    ./gradlew -version || fail "gradle: wrapper failed"
     chmod a+x gradlew
+    ./gradlew -version || fail "gradle: wrapper failed"
     rm -rf gradle-${GRADLE_VERSION}-bin.zip
 fi
 



More information about the Android mailing list