[Android] Don't create an already existing directory

Rafaël Carré git at videolan.org
Sun Apr 29 23:58:04 CEST 2012


android | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 29 17:54:56 2012 -0400| [3d73b2474657326db02263fbf401376dffc33bea] | committer: Rafaël Carré

Don't create an already existing directory

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

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

diff --git a/compile.sh b/compile.sh
index 94dde4a..aa45101 100755
--- a/compile.sh
+++ b/compile.sh
@@ -62,7 +62,8 @@ cd vlc
 git am ../patches/*.patch || git am --abort
 
 echo "Building the contribs"
-mkdir contrib/android; cd contrib/android
+mkdir -p contrib/android
+cd contrib/android
 ../bootstrap --host=arm-linux-androideabi --disable-disc --disable-sout --enable-small \
     --disable-sdl \
     --disable-SDL_image \



More information about the Android mailing list