Le 28/03/2015 16:54, Paul Rogers a écrit :
> So I'm going to try putting OpenJDK from BLFS-7.7 on my otherwise 7.2
> system.  Normally I cut and paste to make my build scripts.  I often use
> "parenthetical subshells" to group bits together and follow them with
> &&.  The book usually breaks the stream.  I'm wondering if I can group
> the bit where we're testing in the background framebuffer in a
> parenthetical subshell.  Will that work?

AFAICT, yes. The instruction in the book are separated to give some indication
of what those instructions are doing, but they could be run
all in a row.

Because of the single "&", be careful not to add more double "&&" than are in
the book. For example:
"export DISPLAY=... && somecommand &" exports only DISPLAY to "somecommand"
but not to the current environment, and
"echo $! .... &&" does not echo the right PID.

I do not know if there is a clean way to obtain the expected behaviour (with
parentheses maybe), but suppressing some double "&&" does the trick...

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to