Buildbot cruft: /opt/local/bin/mvn31

Blair Zajac blair at orcaware.com
Tue Mar 17 13:24:02 PDT 2015


On Mar 17, 2015, at 12:39 PM, Marko Käning <MK-MacPorts at techno.ms> wrote:

> 
> On 17 Mar 2015, at 19:58 , David Strubbe <dstrubbe at mit.edu> wrote:
> 
>> How about using "ls -lt" in an appropriate step of the Portfile to get this info?
> 
> Oh, I wasn’t aware that that could be done so easily.
> 
> Will try that.
> 
> Thanks for the hint!

Funny, I found this code in the maven3 port because of this bug:

pre-activate {
    # Remove stray files on Mavericks buildbot
    foreach file {bin/mvn3} {
        set filepath ${prefix}/${file}
        if {[file exists ${filepath}] && [registry_file_registered ${filepath}] == "0"} {
            delete ${filepath}
        }
    }
}

I’ll put this in maven31 for an hour and then remove it.

Blair



More information about the macports-dev mailing list