[Android] buildsystem: avoid using bash to call git
Steve Lhomme
git at videolan.org
Mon Jun 16 05:45:44 UTC 2025
vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 12 15:02:44 2025 +0200| [c669182d4c387639cb69b71874796431f97e60f5] | committer: Steve Lhomme
buildsystem: avoid using bash to call git
> https://code.videolan.org/videolan/vlc-android/commit/c669182d4c387639cb69b71874796431f97e60f5
---
application/remote-access-client/build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/remote-access-client/build.gradle b/application/remote-access-client/build.gradle
index bcfb43fb50..42d94b57b6 100644
--- a/application/remote-access-client/build.gradle
+++ b/application/remote-access-client/build.gradle
@@ -107,7 +107,7 @@ def remoteAccessRevision() {
try {
def hash = new ByteArrayOutputStream()
exec {
- commandLine = ['bash', '-c', 'git -C remoteaccess rev-parse --short HEAD']
+ commandLine 'git', '-C', 'remoteaccess', 'rev-parse', '--short', 'HEAD'
standardOutput = hash
}
return hash.toString()
More information about the Android
mailing list