On 02/25/2013 06:07 PM, Armin K. wrote:
> On 02/25/2013 02:54 PM, Thanos Baloukas wrote:
>> Thank you guys for your answers!
>>
>> "The commented line for --with-libxul-sdk has an escaped dollar sign
>>     - if you have chosed to paste the entries into a mozconfig file in
>> your editor, you do not need the escape, it is only necessary when
>> invoking a subshell in a HERE document."
>> ----------------------------------------------
>> I don't get it.
>> If I do
>>
>> cat > mozconfig << "EOF"
>> #ac_add_options --with-libxul-sdk=\$(pkg-config --variable=sdkdir libxul)
>> EOF
>>
>> cat mozconfig
>> #ac_add_options --with-libxul-sdk=\$(pkg-config --variable=sdkdir libxul)
>>
>> cat > mozconfig << "EOF"
>> #ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
>> EOF
>>
>> cat mozconfig
>> #ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
>>
>> Thanos

>
> The difference is between "EOF" and EOF
>
> If you use the latter one, you need to escape the special signs or it
> will threat the as, lets say, variables and so.
>

Thanks Armin! I get it now. So if EOF is quoted, the backslash brakes 
mozconfig. I'm posting from a freshly installed Thunderbird-17.0.2.
tar -xfv failed. It should be tar -xvf

Thanos


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to