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

> 
> On Nov 2, 2013, at 8:17 AM, easie...@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.

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to