Re: mingw-dist */issue.log
Keith Marshall <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.devel |
|---|---|
| Organization | MinGW Project |
| Message-ID | <[email protected]> |
On 04/03/13 19:02, Earnie Boyd wrote:
> On Mon, Mar 4, 2013 at 12:10 PM, Earnie Boyd wrote:
>> On Mon, Mar 4, 2013 at 11:54 AM, Earnie Boyd wrote:
>>> On Mon, Mar 4, 2013 at 11:00 AM, Earnie Boyd wrote:
>>>
>>> I suppose this is the reason for the missing hash. Now for a
>>> resolution, searching ...
>>>
>>> $ openssl sha1 | awk '{print $$NF}'
>>> WARNING: can't open config file: /var/ssl/openssl.cnf
>>
>> Uh, no, the warning isn't it. Openssl isn't producing anything on my
>> system. It is just sitting doing nothing when I use ``openssl sha1''.
>
> Actually, openssl is fine, it is the awk '{print $$NF}' that is failing.
WJFFM. It's coded in Makefile.comm, as (the equivalent of):
awk '{ sub( "\r$$", "" ); print }' foo.xml | \
openssl sha1 | awk '{ print $$NF }'
which causes make to execute:
awk '{ sub( "\r$", "" ); print }' foo.xml | \
openssl sha1 | awk '{ print $NF }'
The intent is to filter out any CRLF rubbish which may inadvertently
have crept in, compute the SHA1 hash of the resultant stream, and select
only the last field of the openssl output, (which is the computed hash
value).
--
Regards,
Keith.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb