[89208] trunk/dports/java/hadoop/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Jan 21 01:12:20 PST 2012
On Jan 21, 2012, at 01:27, hum at macports.org wrote:
> Revision: 89208
> http://trac.macports.org/changeset/89208
> Author: hum at macports.org
> Date: 2012-01-20 23:27:25 -0800 (Fri, 20 Jan 2012)
> Log Message:
> -----------
> hadoop: update to 1.0.0; fix master_sites and livecheck; use Tcl 'ln' command instead of 'system'.
>
> Modified Paths:
> --------------
> trunk/dports/java/hadoop/Portfile
> - system "cd ${destroot}${hadoop_home} && ln -s conf.pseudo conf"
> + ln -s ${destroot}${hadoop_home}conf.pseudo conf
You're making assumptions here about the current working directory; it won't necessarily be the directory you want. Specify absolute paths.
> livecheck.type regex
> -livecheck.url http://www.eu.apache.org/dist/hadoop/common/stable/
> +livecheck.url http://www.apache.org/dist//hadoop/common/
> livecheck.regex ${name}-(\[0-9.\]+)
Probably no need to use a double slash.
More information about the macports-dev
mailing list