[86945] trunk/dports/devel/caml-react/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Nov 7 06:47:16 PST 2011


On Nov 7, 2011, at 08:17, mww at macports.org wrote:

> Revision: 86945
>          http://trac.macports.org/changeset/86945
> Author:   mww at macports.org
> Date:     2011-11-07 06:17:06 -0800 (Mon, 07 Nov 2011)
> Log Message:
> -----------
> version 0.9.2
> 
> Modified Paths:
> --------------
>    trunk/dports/devel/caml-react/Portfile


> +post-extract { system -W ${worksrcpath} "chmod +x build" }

Where Tcl commands exist, they should be used in preference of calling out to the shell with system. In this case, you want:

post-extract {
    file attributes ${worksrcpath}/build -permissions +x
}

http://www.tcl.tk/man/tcl8.4/TclCmd/file.htm#M6




More information about the macports-dev mailing list