Skip to content

Commit

Permalink
Linter Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Dec 17, 2024
1 parent 14330bd commit 1c0e83d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tooling/reproducible/windows_repro_build_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,12 @@ Check_And_Install_Ant() {
echo ""
# Check For Existence Of Required Version Of Ant-Contrib For Existing Ant
echo "Checking For Installation Of Ant Contrib Version $ANT_CONTRIB_VERSION "
if [ -r ${ANT_BASE_PATH}/apache-ant-${ANT_VERSION}/bin/ant ] && [ ! -r $ANT_BASE_PATH/apache-ant-${ANT_VERSION}/lib/ant-contrib.jar ]; then
if [ -r "${ANT_BASE_PATH}/apache-ant-${ANT_VERSION}/bin/ant" ] && [ ! -r "${ANT_BASE_PATH}/apache-ant-${ANT_VERSION}/lib/ant-contrib.jar" ]; then
echo "But Ant-Contrib Is Missing - Installing"
# Ant Version Not Found... Check And Create Paths
echo Downloading ant-contrib-${ANT_CONTRIB_VERSION}:
curl -L https://sourceforge.net/projects/ant-contrib/files/ant-contrib/${ANT_CONTRIB_VERSION}/ant-contrib-${ANT_CONTRIB_VERSION}-bin.zip > /tmp/ant-contrib-${ANT_CONTRIB_VERSION}-bin.zip
(unzip -qnj /tmp/ant-contrib-${ANT_CONTRIB_VERSION}-bin.zip ant-contrib/ant-contrib-${ANT_CONTRIB_VERSION}.jar -d ${ANT_BASE_PATH}/apache-ant-${ANT_VERSION}/lib)
(unzip -qnj "/tmp/ant-contrib-${ANT_CONTRIB_VERSION}-bin.zip" "ant-contrib/ant-contrib-${ANT_CONTRIB_VERSION}.jar" -d "${ANT_BASE_PATH}/apache-ant-${ANT_VERSION}/lib")
rm /tmp/ant-contrib-${ANT_CONTRIB_VERSION}-bin.zip
else
echo "Ant Contrib Version: $ANT_CONTRIB_VERSION Is Already Installed"
Expand Down

0 comments on commit 1c0e83d

Please sign in to comment.