[Android] compile.sh: put VLC source repository into a variable

Simon Latapie git at videolan.org
Fri Jul 26 17:16:12 CEST 2019


vlc-android | branch: master | Simon Latapie <garf at videolan.org> | Fri Jul 26 11:23:26 2019 +0200| [28ad87a667c62dc874b739b0e628c616227d5b53] | committer: Simon Latapie

compile.sh: put VLC source repository into a variable

This is more convenient when working with other repositories, and helps
finding out where the TESTED_HASH is coming from.

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

 compile.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index be9fffce2..7d4277327 100755
--- a/compile.sh
+++ b/compile.sh
@@ -271,9 +271,10 @@ fi
 ####################
 
 TESTED_HASH=ee139ff
+VLC_REPOSITORY=https://git.videolan.org/git/vlc/vlc-3.0.git
 if [ ! -d "vlc" ]; then
     diagnostic "VLC sources: not found, cloning"
-    git clone https://git.videolan.org/git/vlc/vlc-3.0.git vlc
+    git clone "${VLC_REPOSITORY}" vlc
     checkfail "VLC sources: git clone failed"
     cd vlc
     diagnostic "VLC sources: resetting to the TESTED_HASH commit (${TESTED_HASH})"



More information about the Android mailing list