mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 21:59:59 -04:00
sync with master
This commit is contained in:
parent
f35f5615e6
commit
f56db336a3
1 changed files with 11 additions and 3 deletions
|
|
@ -5,14 +5,22 @@ 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=
|
||||
case $i in
|
||||
http://www.ietf.org/internet-drafts/*)
|
||||
z=`expr "$i" : 'http://www.ietf.org/internet-drafts/\(.*\)'`
|
||||
;;
|
||||
http://www.ietf.org/id/*)
|
||||
z=`expr "$i" : 'http://www.ietf.org/id/\(.*\)'`
|
||||
;;
|
||||
esac
|
||||
if test -n "$z"
|
||||
then
|
||||
i="$z"
|
||||
|
|
@ -38,7 +46,7 @@ do
|
|||
continue;
|
||||
fi
|
||||
fi
|
||||
if $fetch "http://www.ietf.org/internet-drafts/$i"
|
||||
if $fetch "http://www.ietf.org/id/$i"
|
||||
then
|
||||
git add "$i"
|
||||
if test "X$old" != "X$pat"
|
||||
|
|
|
|||
Loading…
Reference in a new issue