Changeset 134045 for trunk/dports/java


Ignore:
Timestamp:
Mar 17, 2015, 6:41:42 PM (4 years ago)
Author:
blair@…
Message:

maven{1,2,3}: switch from "cd ... && ln -s" to jus "ln -s".

Location:
trunk/dports/java
Files:
3 edited

Legend:

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

    r98853 r134045  
    6666    }
    6767
    68     # Symlink maven executable to mvn in maven1 directory
    69     system "cd ${mavendir}/bin && ln -s maven mvn"
     68    # Symlink maven executable to mvn in the bin directory
     69    ln -s maven ${mavendir}/bin/mvn
    7070
    7171    # Symlink maven into the bin directory
    72     system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn1"
     72    ln -s ../share/java/${name}/bin/mvn ${destroot}${prefix}/bin/mvn1
    7373}
    7474
  • trunk/dports/java/maven2/Portfile

    r95479 r134045  
    8484
    8585    # Symlink maven into the bin directory
    86     system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn2"
     86    ln -s ../share/java/${name}/bin/mvn ${destroot}${prefix}/bin/mvn2
    8787}
    8888
  • trunk/dports/java/maven3/Portfile

    r132810 r134045  
    9090
    9191    # Symlink maven into the bin directory
    92     system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn3"
     92    ln -s ../share/java/${name}/bin/mvn ${destroot}${prefix}/bin/mvn3
    9393}
    9494
Note: See TracChangeset for help on using the changeset viewer.