bootstrap: make find's -depth option be the first.
authorJim Meyering <meyering@redhat.com>
Tue, 1 Apr 2008 15:12:12 +0000 (17:12 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 1 Apr 2008 15:12:12 +0000 (17:12 +0200)
* bootstrap [dangling symlink removal]: Move find's -depth
option to precede all others, to avoid a warning.

bootstrap

index 3bfc5d1..94d8921 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -558,7 +558,7 @@ fi
 # unusual case in which a symlinked-to .m4 file is git-removed from gnulib
 # between successive runs of this script.
 find "$m4_base" "$source_base" \
-  -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1
+  -depth -name '*.m4' -type l -xtype l -delete > /dev/null 2>&1
 
 
 # Reconfigure, getting other files.