Skip to content

Commit

Permalink
fix tomcat test
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Mar 13, 2023
1 parent 588d38c commit b80e17a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/checktomcatver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ if [ -z "$(echo $tomcatver | xargs)" ]; then
fi

#check if that version of tomcat is available in the download area (return is 0 if current, non-zero if not current)
wget -q --spider https://mirrors.gigenet.com/apache/tomcat/tomcat-9/v${tomcatver}/bin/apache-tomcat-${tomcatver}.tar.gz
#wget -q --spider http://apache.mirrors.ionfish.org/tomcat/tomcat-9/v${tomcatver}/bin/apache-tomcat-${tomcatver}.tar.gz
wget -q --spider https://dlcdn.apache.org/tomcat/tomcat-9/v${tomcatver}/bin/apache-tomcat-${tomcatver}.tar.gz

if [ $? == '0' ]; then
echo "Running Tomcat version (${tomcatver}) is current!"
Expand Down

0 comments on commit b80e17a

Please sign in to comment.