On 10 maj 2012, at 03:04, Ryan Schmidt wrote:

> 
> On May 9, 2012, at 18:08, [email protected] wrote:
> 
>> Revision: 92880
>>         https://trac.macports.org/changeset/92880
>> Author:   [email protected]
>> Date:     2012-05-09 16:08:04 -0700 (Wed, 09 May 2012)
>> Log Message:
>> -----------
>> py-scrapy: Unified, updated to 0.14.3. closes #34293, maintainer timeout
>> 
>> Added Paths:
>> -----------
>>   trunk/dports/python/py-scrapy/
>>   trunk/dports/python/py-scrapy/Portfile
> 
> 
>> +if {$subport != $name} {
>> +    depends_build-append    port:py${python.version}-distribute
>> +    depends_lib-append      port:py${python.version}-lxml 
>> port:py${python.version}-twisted
>> +    
>> +    pre-activate {
>> +        system "find ${destroot} -perm 600 -type f -exec chmod 644 {} \\;"
>> +    }
>> +}
> 
> You can't mess with destroot in pre-activate; the destroot might not exist by 
> then anymore. Observe:

Alright thanks, I'll keep that in mind, I've removed this entire block anyway 
since the `find` doesn't match any 600 files.

-- Daniel

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to