You can pass a 2nd argument to automate the input
./build <option1> d : do the default action
./build <option1> y : answer yes to all questions
./build <optino1> n : answer no to all questions
You can see all the options and commands by just doing a ./build.
Sean