On 09:41 Wed 10 Nov     , Christopher Schwan wrote:
> for i in $(find . -type f -name '*.asm') ; do
>       echo $i >/dev/null
>       cat >> $i <<-EOF
>               #if defined(__linux__) && defined(__ELF__)
>               .section .note.GNU-stack,"",%progbits
>               #endif
>       EOF
> done
> 
> If I remove the line with "echo" (which *should* be completely useless), the 
> cat command does not patch files - WHY ?!

Can't reproduce what you are saying.  Here it works like a charm without
the superflous line.

> Also, mpir seemed to have dropped yasm beginning with mpir-2.1 (?), so
> I think at least one loop in mpir's ebuild is superfluous.

Hmm, also no. mpir-2.1.3 tarball contains yasm... I'm confused.

My current version is always here:

https://github.com/tom111/TomOverlay/blob/master/sci-libs/mpir/mpir-2.1.3.ebuild

Cheers,
Thomas


-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

Attachment: pgp3YuDIyLqaU.pgp
Description: PGP signature

Reply via email to