Make curl follow redirections.
This commit is contained in:
@@ -5,14 +5,14 @@ then
|
||||
fetch=fetch
|
||||
elif type curl >/dev/null 2>&1
|
||||
then
|
||||
fetch="curl -O"
|
||||
fetch="curl -L -O"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for i
|
||||
do
|
||||
z=`expr "$i" : 'http://www.ietf.org/internet-drafts/\(.*\)'`
|
||||
z=`expr "$i" : 'http://www.ietf.org/id/\(.*\)'`
|
||||
if test -n "$z"
|
||||
then
|
||||
i="$z"
|
||||
|
||||
Reference in New Issue
Block a user