mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
only perform the updates if the fetch succeeds
This commit is contained in:
@@ -7,7 +7,8 @@ do
|
||||
fi
|
||||
pat=`echo "$i" | sed 's/...txt/??.txt/'`
|
||||
old=`echo $pat 2> /dev/null`
|
||||
fetch "http://www.ietf.org/internet-drafts/$i"
|
||||
if fetch "http://www.ietf.org/internet-drafts/$i"
|
||||
then
|
||||
cvs add "$1"
|
||||
if test "X$old" != "X$pat"
|
||||
then
|
||||
@@ -17,4 +18,5 @@ do
|
||||
old=
|
||||
fi
|
||||
cvs commit -m "new draft" $i $old
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user