diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | clean_perl | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ + * clean_perl: use -empty instead of silencing failing directory deletion + attempts + 2012-03-05 D Morgan <dmorgan@mageia.org> 0.31.6 * prevent waiting for non existing files if files contains space or dash @@ -17,4 +17,4 @@ for i in $(find $d -name "*.bs"); do fi done -find $d -depth -type d -exec rmdir {} 2>/dev/null \; +find $d -depth -type d -empty -exec rmdir {} \; |