From: Simon M. <S.M...@dt...> - 2007-02-03 05:29:53
|
If it's possible, I'd like to suggest a very minor change to the make install process; adding the -f option to rm so it doesn't prompt some people for file deletion a few hundred times (especially the subversion files, which have ro permissions so it asks for confirmation). It's quite frustrating. There are a couple of cases. Something along these lines: Index: device/lib/Makefile.in =================================================================== --- device/lib/Makefile.in (revision 4613) +++ device/lib/Makefile.in (working copy) @@ -355,13 +355,13 @@ \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \ -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'build' -o -name 'bin' -o \ -name 'Makefile*' \) \ - -exec rm -r {} \; ; \ + -exec rm -rf {} \; ; \ done find $(sdcc_libdir)/src/mcs51 -depth \ \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \ -name '*.lst' -o -name '.svn' -o -name 'build' -o -name 'bin' -o \ -name 'Makefile*' \) \ - -exec rm -r {} \; + -exec rm -rf {} \; # Deleting all the installed files # -------------------------------- |