samples of LFS build scripts
I am pretty sure that i am not the first one who thought about it, but anyway. Let's say, i am somewhere near the middle of LFS building process and by accident i destroyed newly created toolchain or temporary environment or something in that nature. Since i do not have required expereience to "fix" the problem i think it would be wiser to restart all over again. But as I go further in the building process, there are more and more commands to type. So, wouldn't it be easier to put them in some kinda of bash script and let it run up to the point where i "screwed up" ? If it does make sense, can anyone show me examples of their LFS build scripts? I do not have very good knowledge of bash scripting, but i think if i have some sample to look at, then i can handle it.
Thanks, appriciate in advance.