mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 05:22:05 -04:00
a tool for fetching new drafts
This commit is contained in:
parent
09d3194a7e
commit
88a44b0542
1 changed files with 20 additions and 0 deletions
20
doc/draft/update
Normal file
20
doc/draft/update
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
for i
|
||||
do
|
||||
if test -f "$i"
|
||||
then
|
||||
continue
|
||||
fi
|
||||
pat=`echo "$i" | sed 's/...txt/??.txt/'`
|
||||
old=`echo $pat 2> /dev/null`
|
||||
fetch "http://www.ietf.org/internet-drafts/$i"
|
||||
cvs add "$1"
|
||||
if test "X$old" != "X$pat"
|
||||
then
|
||||
rm $old
|
||||
cvs delete $old
|
||||
else
|
||||
old=
|
||||
fi
|
||||
cvs commit -m "new draft" $i $old
|
||||
done
|
||||
Loading…
Reference in a new issue