diff options
author | Adam Jackson <ajax@nwnk.net> | 2010-11-01 14:29:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-02 07:55:47 +1000 |
commit | d2e1f5ca4614afbc1ca30581fcb1f6e50423fc06 (patch) | |
tree | d9536b37d6ee929693beb7cb022436111faf3715 | |
parent | bf237073d39629599cb77bf0144f862c175bb640 (diff) |
Silence useless pedantry warning from find(1) when running cleanlinks.
"find: warning: you have specified the -depth option after a non-option
argument -type, but options are not positional (-depth affects tests
specified before it as well as those specified after it). Please specify
options before other arguments."
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
-rw-r--r-- | cleanlinks | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,5 +22,5 @@ find . -type l -print | echo Removing empty directories ... #find . -type d -depth -print | xargs rmdir > /dev/null 2>&1 -find . -type d -depth -empty -print -exec rmdir {} \; +find . -depth -type d -empty -print -exec rmdir {} \; exit 0 |