after each command a Footer script will be call with a message saying

"press any key to continue or q to Exit"

so if i did not see any error i will press enter and if there is an
error i will exit.

I am not saying this is the best way but the script only print stderr
and i will know if the command fails to exit .

On Sat, Jul 3, 2010 at 7:43 AM, Simon Geard <delga...@ihug.co.nz> wrote:
> On Sat, 2010-07-03 at 02:19 +0300, Face wrote:
>> Neal,
>>
>> thanks alot for going through the script I appreciated.
>>
>> well, I do have  error detection i disable it on the script i attached.
>> its like this
>
> That's not error detection - that's just logging stderr. The biggest
> problem with scripted builds is making sure the script stops immediately
> when an error occurs, instead of ignoring it and continuing. If
> "configure" fails, don't run "make". If "make" fails, don't run "make
> install". And if *anything* fails, don't just move onto the next
> package.
>
> That's experience talking, I might add. My LFS builds are almost always
> scripted, and more than once, I've investigated a compile problem that's
> turned out to be the result of an earlier package failing unnoticed.
> Wastes a lot of time, that way.
>
> Simon.
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>



-- 
Sincerely,
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to