Make find(1) command POSIX-compliant
ID0002222: This issue was created automatically from Mantis Issue 2222. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0002222 | Frama-C | Plug-in > wp | public | 2016-04-09 | 2016-04-09 |
Reporter | mmcc | Assigned To | correnson | Resolution | open |
Priority | normal | Severity | minor | Reproducibility | always |
Platform | All | OS | OpenBSD | OS Version | - |
Product Version | - | Target Version | - | Fixed in Version | - |
Description :
src/plugins/wp/share/Makefile uses the -delete option of find(1), which is a GNU extension. The same behavior can be achieved using the POSIX-specified -exec option. The attached patch changes this Makefile to use -exec, fixing 'make clean' on systems that don't use GNU find.
Thanks, Mike
Steps To Reproduce :
Run 'make clean' on a system that uses a non-GNU find(1) utility.