[Android] Alwasy overwrite files when unzipping gradle

Jean-Baptiste Kempf git at videolan.org
Sat Jul 25 15:46:01 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jul 25 15:45:24 2015 +0200| [79918cf3b8afd8390891a73539290cfd2637a1ed] | committer: Jean-Baptiste Kempf

Alwasy overwrite files when unzipping gradle

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

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

diff --git a/compile.sh b/compile.sh
index 6c23e2a..02e081d 100755
--- a/compile.sh
+++ b/compile.sh
@@ -81,7 +81,7 @@ if [ ! -d "gradle/wrapper" ]; then
     wget ${GRADLE_URL} 2>/dev/null || curl -O ${GRADLE_URL}
     checkfail "gradle: download failed"
 
-    unzip gradle-${GRADLE_VERSION}-all.zip
+    unzip -o gradle-${GRADLE_VERSION}-all.zip
     checkfail "gradle: unzip failed"
 
     cd gradle-${GRADLE_VERSION}



More information about the Android mailing list