Skip to content

Commit

Permalink
Unzip the gradle zip silently (#380)
Browse files Browse the repository at this point in the history
This supresses the un-necessary huge inflating messages while build

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
  • Loading branch information
shtripat authored Apr 26, 2024
1 parent 72b1a96 commit 4271c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1

mkdir -p ${GRADLE_INSTALL_PATH}
gradle_url="https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip"
if ! $WGET --output-document=- "$gradle_url" | busybox unzip -d ${GRADLE_INSTALL_PATH} -; then
if ! $WGET --output-document=- "$gradle_url" | busybox unzip -qq -d ${GRADLE_INSTALL_PATH} -; then
echo "unable to install gradle-${GRADLE_VERSION}"
exit 1
fi
Expand Down

0 comments on commit 4271c4e

Please # to comment.