diff options
author | Jim Meyering <meyering@redhat.com> | 2008-03-02 10:44:18 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-03-02 10:46:48 +0100 |
commit | 39fc8c581b7d50e396cfbcca253e94b5489a24ed (patch) | |
tree | cb1e9d48cc214b3d93213825b840a80752bcafe7 /bootstrap | |
parent | d622ad088b4eb0dfdcd6f935b6b51b4165c4d1bf (diff) | |
download | coreutils-39fc8c581b7d50e396cfbcca253e94b5489a24ed.tar.xz |
* bootstrap: Remove only *.m4, and only from $m4_base/. Rewrite the comment.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -546,12 +546,15 @@ if test -f $mam_template; then done fi -# Remove dangling symlinks in gnulib-populated directories, since -# a dangling m4/*.m4 symlink would cause aclocal to fail. -# This depends on GNU find, and a relatively recent version at that. -# Ignore any failure for now, since it's only to avoid the relatively -# unusual case in which a symlinked-to file in gnulib/ or gl/ is removed. -find m4 lib build-aux -depth -type l -xtype l -delete > /dev/null 2>&1 +# Remove any dangling symlink matching "*.m4" in the gnulib-populated +# $m4_base directory, since such a file would cause aclocal to fail. +# The following requires GNU find 4.2.3 or newer. Considering the usual +# portability constraints of this script, that may seem a very demanding +# requirement, but it should be ok. Ignore any failure, which is fine, +# since this is only a convenience to help developers avoid the relatively +# unusual case in which a symlinked-to .m4 file is git-removed from gnulib +# between successive runs of this script. +find "$m4_base" -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1 # Reconfigure, getting other files. |