[BusyBox] make clean leaves ".*.flags"

Giulio Orsero giulioo at pobox.com
Fri Mar 22 14:12:59 UTC 2002


Current cvs, in "make clean" there's

find -name .\*.flags -o -name .depend -exec rm -f {} \;

but look at this (on rh6x, GNU find version 4.1)

$ ls -la
total 8
drwxrwxrwx   2 cdi      cdi          4096 Mar 22 22:05 .
drwxrwxr-x  30 cdi      cdi          4096 Mar 22 22:04 ..
-rw-rw-rw-   1 cdi      cdi             0 Mar 22 22:04 .test.flags
-rw-rw-rw-   1 cdi      cdi             0 Mar 22 22:04 file2
$ find -name .\*.flags -o -name .depend -print
$ find -name .\*.flags -print
./.test.flags
$

On my systems .*.flags file don't get deleted by "make clean".

Can you change make clean to use
  - find -name .\*.flags -exec rm -f {} \;
  - find -name .depend -exec rm -f {} \;

-- 
giulioo at pobox.com



More information about the busybox mailing list