Skip to content

Commit

Permalink
shfmt fix
Browse files Browse the repository at this point in the history
Signed-off-by: Shubhendu Ram Tripathi <[email protected]>
  • Loading branch information
shtripat committed Apr 23, 2024
1 parent 3869c46 commit f18be6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ 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
echo "unable to install gradle-${GRADLE_VERSION}"
exit 1
echo "unable to install gradle-${GRADLE_VERSION}"
exit 1
fi

chmod +x -v ${GRADLE_INSTALL_PATH}/gradle-${GRADLE_VERSION}/bin/gradle
Expand Down

0 comments on commit f18be6a

Please sign in to comment.