1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

if the cvs update fails, don't continue further

This commit is contained in:
Daniel Stenberg 2003-03-20 14:38:42 +00:00
parent de11f5e53a
commit bf5e12c8e0

View File

@ -112,6 +112,11 @@ cvs -Q up -dP 2>&1
cvsstat=$? cvsstat=$?
echo "testcurl: cvs returned: $cvsstat" echo "testcurl: cvs returned: $cvsstat"
if [ "$cvsstat" -ne "0" ]; then
echo "testcurl: failed to update from CVS, exiting"
die
fi
# figure out the current collected CVS status # figure out the current collected CVS status
newstat="../allcvs.log" newstat="../allcvs.log"
oldstat="../oldcvs.log" oldstat="../oldcvs.log"