I need to pass an argument to ./configure that would normally be interactive on the command line. e.g. ./configure --disable-spell. Is there a way to do that within the receipt? My tazwok cook is failing because I do not know how to either set it hard-coded in the ./configure or how to use the taz utilities to pass the argument through.
I apologize if the answer is one of those 'you should know that'.
Most of the time you can answer to a question in script using echo, like: <code>echo y | tazpkg remove X</code> A test case using a simple function: <code>$ taz(){ read a; [ "$a" = yo ] && echo "Babylon shall fall!"; } $ echo ya | taz # No answer $ echo yo | taz > Babylon shall fall!</code>
It have its limits: if you have to answer to several questions, I hope you want to answer the same thing for all :D... but you said **an* argument, right ?