Re: here-documents in ebuild pk wrote:
> pk wrote:
> That seems indeed a bug. In the environment, the function becomes
>
> src_unpack ()
> {
> unpack ${A} || die;
> patch -l "${S}/src/misc-proc.c" <<EOF
> [snip]
> EOF
> || die
> }
>
> Which is quite different from what's in the ebuild:
>
> src_unpack() {
> unpack ${A} || die
> # Patch to remove meta-generator tag with "ego-gratifying Easter egg":
> patch -l "${S}/src/misc-proc.c" << EOF || die
> [snip]
> EOF
> }
Gah, more bugs. Actually, only the first line has an effect:
command << EOF
str1
str2
str3
EOF
Only str1 gets passed to command. str2 and str3 are totally ignored :S |