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