echo script output to the display

Lawrence Velázquez larryv at macports.org
Sun Sep 21 07:57:58 PDT 2014


On Sep 21, 2014, at 10:50 AM, Mark Brethen <mark.brethen at gmail.com> wrote:

> This is how I currently handle it:
> 
> system "cd ${cslbuilddir}/csl; exec make testall"
> 
> Note that this makefile is 2 levels deep from ${worksrcpath} 

Do you have to run it from that csl directory? Does the primary makefile not have an appropriate target?

And is a failed "system" command in a post-build script considered fatal? I don't recall off the top of my head. You might have to use "catch" to get the behavior you want.

In any case, you should use system -W and build.cmd for this.

    system -W ${cslbuilddir}/csl "${build.cmd} testall"

vq


More information about the macports-dev mailing list