[Buildroot] [PATCH] docs/manual: fix bash export syntax in example code

Luca Ceresoli luca at lucaceresoli.net
Wed Nov 11 20:50:49 UTC 2015


Dear Thomas,

Thomas Petazzoni wrote:
> Dear Luca Ceresoli,
>
> On Wed, 11 Nov 2015 18:47:41 +0100, Luca Ceresoli wrote:
>> To export a variable in .bashrc we shouldn't put a '$' at the
>> beginning of the line, and there must be a '=' between key and value.
>
> Well the $ is here to indicate that it's the shell prompt.

I would agree if this specific part of the manual were suggesting a
shell command in general. Instead it's suggesting to add a line to
~/.bashrc, where a '$' does not make sense of course.

Maybe I should have explained it in my commit message?

-- 
Luca



More information about the buildroot mailing list