13
0

add -L to curl in linux build script so that 301 responses while fetching harvid are handled

This commit is contained in:
Paul Davis 2013-04-05 22:00:30 -04:00
parent cd0d68a591
commit dbe7ecb07c

View File

@ -532,7 +532,7 @@ done
if test x$WITH_HARVID != x ; then
cd $APPBIN
HARVID_VERSION="v0.7.0" # todo make 'latest' symlink on github work somehow.
curl http://x42.github.com/harvid/releases/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz \
curl -L http://x42.github.com/harvid/releases/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz \
| tar -x -z --exclude=README --exclude=harvid.1 --strip-components=1 || exit 1
cd -
fi