Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20422

Summary: cvs update failure check in /usr/portage/eclass/cvs.eclass
Product: Gentoo Linux Reporter: Danny Milosavljevic <danny_milo>
Component: New packagesAssignee: Dan Armak (RETIRED) <danarmak>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Danny Milosavljevic 2003-05-04 10:13:37 UTC
/usr/portage/eclass/cvs.eclass: line 185 should be: 

 if [ "${ECVS_AUTH}" == "pserver" ]; then
                einfo "Running $cmdlogin"
                eval $cmdlogin || die "^ error"
                if [ "${mode}" == "update" ]; then
                        einfo "Running $cmdupdate"
                        eval $cmdupdate || {
                                false
                                die "failed ${cmdupdate}"
                        }
                elif [ "${mode}" == "checkout" ]; then
                        einfo "Running $cmdcheckout"
                        eval $cmdcheckout || {
                                false
                                die "failed ${cmdcheckout}"
                        }

Otherwhise when getting for example "end of file from server" (happens rather often lately on 
sourceforge), it would continue building and thinking it was successful.

Thanks :)
Comment 1 Danny Milosavljevic 2003-05-04 10:15:45 UTC
btw I think the "false" here is unneccesary, its just to be sure ;)

and 'eval $cmdlogin || die "^ error"' could be without error checking because the login can fail, but the update afterwards still work (have already seen that). I suspect this being so because the update logins if neccessary though...
Comment 2 Danny Milosavljevic 2003-05-23 04:37:17 UTC
oops, bug # 20871 is the current one with a patch... I forgot that I already reported here... sorry !
Comment 3 Dan Armak (RETIRED) gentoo-dev 2003-06-10 15:12:53 UTC

*** This bug has been marked as a duplicate of 20871 ***