[112879] trunk/dports/java/maven-devel/Portfile

easieste at macports.org easieste at macports.org
Sun Nov 3 01:59:02 PST 2013


Revision: 112879
          https://trac.macports.org/changeset/112879
Author:   easieste at macports.org
Date:     2013-11-03 01:59:01 -0800 (Sun, 03 Nov 2013)
Log Message:
-----------
Use absolute paths for installation symbolic link.

Suggested by Frank Schima and Ryan Schmidt.  Note that both
`java/maven3` and `java/maven2`--for neither of which am I
maintainer--contain the same sort of use of "cd <dir> && ln -s
<relative path arguments" removed in this commit.

Modified Paths:
--------------
    trunk/dports/java/maven-devel/Portfile

Modified: trunk/dports/java/maven-devel/Portfile
===================================================================
--- trunk/dports/java/maven-devel/Portfile	2013-11-03 08:10:25 UTC (rev 112878)
+++ trunk/dports/java/maven-devel/Portfile	2013-11-03 09:59:01 UTC (rev 112879)
@@ -90,7 +90,7 @@
     }
 
     # Symlink maven into the bin directory
-    system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${maven_dir}/bin/mvn mvn3"
+    ln -s ${prefix}/share/java/${maven_dir}/bin/mvn ${prefix}/bin/mvn3 
 }
 
 notes \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131103/46a1685b/attachment.html>


More information about the macports-changes mailing list