Bash shell scripting doubt
I am setting up a cron job, where i am calling a shell script to make few builds. I got struck at a point, need some expert inputs to proceed further.
The script is categorized in 5 parts and in the last part while building software it asks for few questions like:-
1. Build mode choice
2. normal build
3. Copy Images
User manually has to input ans for these questions:-
The ans's are fixed and this won't change. How shall i hard-code them or do something in the script so as when script flow reaches to this point it automatically take's these value.
So far the cron job is not getting completed as it's waiting for user to key in these values manually....
I had faced similar issue while building kernel modules but there it was easier as i had to take default values always:-
yes '' | make kernel
But in the current scenario i need to input values......