Skip to content

Commit

Permalink
DOwnload Ant if the directory does NOT exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjones committed Aug 5, 2019
1 parent 6debb06 commit 86d4feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ before_install:
- sudo apt-get update
- sudo apt-get install -y xmlstarlet
- if [ -d "${ANT}" ]; then echo "${ANT} already downloaded..."; ls -l ${ANT}; fi
- if [ -d "apache-ant-1.10.6" ]; then echo "Downloading ${ANT}..."; wget https://www.apache.org/dist/ant/binaries/${ANT}-bin.tar.gz; tar -xzvf ${ANT}-bin.tar.gz; fi
- if [ ! -d "apache-ant-1.10.6" ]; then echo "Downloading ${ANT}..."; wget https://www.apache.org/dist/ant/binaries/${ANT}-bin.tar.gz; tar -xzvf ${ANT}-bin.tar.gz; fi
- export PATH=`pwd`/${ANT}/bin:$PATH

install:
Expand Down

0 comments on commit 86d4feb

Please sign in to comment.