[Android] only touch .zlib if it's not already there

Sébastien Toque git at videolan.org
Tue Aug 13 11:03:02 CEST 2013


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Aug 13 11:02:48 2013 +0200| [9267d76989c472cd0372a350a01c37fd71095bef] | committer: Sébastien Toque

only touch .zlib if it's not already there

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9267d76989c472cd0372a350a01c37fd71095bef
---

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

diff --git a/compile.sh b/compile.sh
index b5b9ca1..003184a 100755
--- a/compile.sh
+++ b/compile.sh
@@ -207,7 +207,7 @@ export VLC_EXTRA_CFLAGS="${EXTRA_CFLAGS}"
 
 make fetch
 # We already have zlib available
-mkdir -p zlib; touch .zlib
+[ -e .zlib ] || (mkdir -p zlib; touch .zlib)
 make $MAKEFLAGS
 
 cd ../.. && mkdir -p android && cd android



More information about the Android mailing list