sh -> auto accept default OPTIONS

If I want to accept the default OPTIONS, I just press the letter 'o' (without enter)

Now I want to script it:
In target port's directory:
Code:
make rmconfig

# We are configuring port, for a first time
make config << MyEND o
MyEND

heredoc doesn't work!
I get a hanging dialog.
 
Seeker said:
Doesn't work!
Code:
make -DBATCH config
I still get dialog prompt.
Duh! The config target IS the dialog.

Code:
make -DBATCH install

No need to set options if you're going to use the defaults.
 
If you want to accept the default options there's no need to do a config.
 
"make config; press enter; make install" is functionally equivalent to "make -DBATCH install"

Either you're not describing what you want to do in enough detail, or we're not explaining things well enough.
 
Back
Top