Skip to content

Commit

Permalink
Follow redirects in curl
Browse files Browse the repository at this point in the history
  • Loading branch information
tbartelmess committed Sep 12, 2014
1 parent b6d74eb commit 93e3ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function build_nrpe() {
echo "================"
cd "$BUILD_DIR"
echo -n "Downloading... "
curl $NRPE_DOWNLOAD_URL > nrpe.tar.gz 2> nrpe-download-err.log
curl -L $NRPE_DOWNLOAD_URL > nrpe.tar.gz 2> nrpe-download-err.log
print_status
tar xfvz nrpe.tar.gz 2> nrpe-unpack.log
mv nrpe-2.15 nrpe
Expand Down

0 comments on commit 93e3ce7

Please sign in to comment.