echo script output to the display

Ryan Schmidt ryandesign at macports.org
Sun Oct 12 04:11:53 PDT 2014


On Oct 11, 2014, at 2:40 PM, Mark Brethen wrote:
> 
> On Sep 21, 2014, at 3:32 AM, Ryan Schmidt wrote:
> 
>> To see the test results, the user could run:
>> 
>> port log --phase test zlib
>> 
>> For the log to still be there after the installation, the user would also have to have set "keeplogs yes". I do this on my main MacPorts installation, and I periodically run my housekeeping script which deletes logs more than a month old.
> 
> Is there a way to test if keeplogs is set to yes?

Yes, it looks like you can reference ${keeplogs} in a portfile.




More information about the macports-dev mailing list