Skip to content

Commit

Permalink
Merge pull request TritonDataCenter#12 from hadfl/curl
Browse files Browse the repository at this point in the history
adjust download URL for libpng
  • Loading branch information
citrus-it authored Feb 14, 2021
2 parents 55842df + 6a16bb9 commit dfaa1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ "$PRIMARY_COMPILER_VER" -gt 4 ]]; then
fi

if [[ ! -d ${PNGDIR} ]]; then
(curl -k https://mirrors.omniosce.org/libpng/libpng-1.5.4.tar.gz | \
(curl -L https://mirrors.omnios.org/libpng/libpng-1.5.4.tar.gz | \
gtar -zxf -)
if [[ $? != "0" || ! -d ${PNGDIR} ]]; then
echo "Failed to get libpng."
Expand Down

0 comments on commit dfaa1b4

Please sign in to comment.