Skip to content

Commit

Permalink
Merge pull request #1066 from papamoose/followhttpredirect
Browse files Browse the repository at this point in the history
We should follow HTTP 301 redirects to ensure libraries get downloaded.
  • Loading branch information
lixun910 committed Sep 6, 2017
2 parents 061b7c6 + f6ba36d commit 0fdd374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BuildTools/ubuntu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ install_library()

if ! [ -f "$LIB_FILENAME" ] ; then
echo "$LIB_FILENAME not found. Downloading..."
curl -O $LIB_URL
curl -L -O $LIB_URL
else
echo "$LIB_FILENAME found. Download skipped."
fi
Expand Down
2 changes: 1 addition & 1 deletion BuildTools/ubuntu/build64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ install_library()

if ! [ -f "$LIB_FILENAME" ] ; then
echo "$LIB_FILENAME not found. Downloading..."
curl -O $LIB_URL
curl -L -O $LIB_URL
else
echo "$LIB_FILENAME found. Download skipped."
fi
Expand Down

0 comments on commit 0fdd374

Please sign in to comment.