make delete-old question

Rolf G Nielsen lazlar at lazlarlyricon.com
Thu Dec 10 07:54:22 UTC 2009


Frank Shute wrote:
> Hi,
> 
> Successfully upgraded from 7.2 to 8.0 but had my usual problem when
> jumping major versions with the make delete-old target.
> 
> The problem being that it asks me to confirm deletion of each lib/file
> with a "y" and a return. I've found that I never say "n" to any
> deletion and it becomes very tedious to hammer at the keyboard for
> hundreds of libs/files.
> 
> Is there a way to change the Makefile so that they all get deleted
> with just one "y" and a return? Or possibly use yes(1) to script it?
> 
> TIA.
> 
> Regards,
> 

yes | make delete-old


More information about the freebsd-questions mailing list