[Android] fix compile.sh's first run

Philipp Dreimann git at videolan.org
Thu May 10 00:41:34 CEST 2012


android | branch: master | Philipp Dreimann <philipp at dreimann.net> | Thu May 10 00:39:27 2012 +0200| [635bf321014883710ef0c8b48dcf3f3ce21b4975] | committer: Sébastien Toque

fix compile.sh's first run

Signed-off-by: Sébastien Toque <xilasz at gmail.com>

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=635bf321014883710ef0c8b48dcf3f3ce21b4975
---

 compile.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compile.sh b/compile.sh
index 8c2d614..4851718 100755
--- a/compile.sh
+++ b/compile.sh
@@ -44,9 +44,9 @@ TESTED_HASH=5069692bfb
 if [ ! -d "vlc" ]; then
     echo "VLC source not found, cloning"
     git clone git://git.videolan.org/vlc.git vlc
+    cd vlc
     git checkout -B android ${TESTED_HASH}
     echo "Applying the patches"
-    cd vlc
     git am ../patches/*.patch
 else
     echo "VLC source found"



More information about the Android mailing list