2
0
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:
Mark Andrews
2002-09-09 13:10:20 +00:00
parent 6125833e82
commit 9213ea3cec

View File

@@ -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