Skip to content

Commit

Permalink
fix ImageMagick download sources for older releases
Browse files Browse the repository at this point in the history
  • Loading branch information
dzuelke committed Apr 28, 2014
1 parent 0c5abc5 commit 47b6e4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions support/build/libraries/imagemagick
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ set -o pipefail
# fail harder
set -eux

DEFAULT_VERSION="6.6.8-10"
DEFAULT_VERSION="6.8.9-0"
dep_version=${VERSION:-$DEFAULT_VERSION}
dep_dirname=ImageMagick-${dep_version}
dep_archive_name=${dep_dirname}.tar.gz
dep_url=http://www.imagemagick.org/download/${dep_archive_name}
if [[ "$dep_version" == "$DEFAULT_VERSION" ]]; then
dep_url=http://www.imagemagick.org/download/${dep_archive_name}
else
dep_url=http://www.imagemagick.org/download/legacy/${dep_archive_name}
fi

echo "-----> Building ImageMagick ${dep_version}..."

Expand Down

0 comments on commit 47b6e4f

Please sign in to comment.