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

Ryan Schmidt ryandesign at macports.org
Sat Nov 2 16:10:24 PDT 2013


On Nov 2, 2013, at 16:39, Frank Schima wrote:

> 
> On Nov 2, 2013, at 8:17 AM, easieste at macports.org wrote:
> 
>>     # Symlink maven into the bin directory
>> 
>> -    system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn3"
>> 
>> +    system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${maven_dir}/bin/mvn mvn3”
>> 
> 
> Using system “cd” seems totally unnecessary here. It would be best to only use the ln command and simply use absolute paths for both files. 

Or use the -W argument of the system command; that’s what it’s for.



More information about the macports-dev mailing list