Changeset 125813 for trunk/dports/java


Ignore:
Timestamp:
Sep 26, 2014, 9:58:58 PM (6 years ago)
Author:
ryandesign@…
Message:

maven3: fix activation failure on Mavericks build server due to unexplained presence of ${prefix}/bin/mvn3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/maven3/Portfile

    r125702 r125813  
    9191}
    9292
     93pre-activate {
     94    # Remove stray files on Mavericks buildbot
     95    foreach file {bin/mvn3} {
     96        set filepath ${prefix}/${file}
     97        if {[file exists ${filepath}] && [registry_file_registered ${filepath}] == "0"} {
     98            delete ${filepath}
     99        }
     100    }
     101}
     102
    93103notes \
    94104"To make maven $version the default, please run
Note: See TracChangeset for help on using the changeset viewer.