answering questions spilled out from gmake processes
Matthias Apitz
guru at unixarea.de
Fri Apr 11 05:25:56 UTC 2014
Hello,
I have a huge gmake process to compile a lot of OpenSource tools, mostly
Perl modules etc. All this is driven by a master Makefile. Some of the
make processes are asking questions which I do not have under my control and
would require to change the fetched source trees, for example:
...
Test for foo failed, do you want to continue (y/n):
These questions forbit to run this with nohup in background or
unattendend. I was thinking to use chat(1) or any other own written tool
and run the proc in an xterm like:
chat < Xterm.log | gmake
were Xterm.log is the log of the X-terminal and chat is reading the
question there '...want to continue (y/n)' and sends the correct answer.
Any other idea?
matthias
--
Matthias Apitz | /"\ ASCII Ribbon Campaign:
E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
| en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
More information about the freebsd-questions
mailing list