[54758] trunk/dports/java/gant/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Aug 1 21:57:41 PDT 2009


On Aug 1, 2009, at 15:22, breskeby at macports.org wrote:

> +	# Symlink gant into the bin directory
> +	system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/ 
> ${name}/bin/gant"

It would be better not to use "system" if you just want to create a  
symlink. Instead try the MacPorts ln command:

	ln -s ${prefix}/share/java/${name}/bin/gant ${destroot}${prefix}/bin




More information about the macports-dev mailing list