bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: bootstrap dangling symlink tweaks


From: Eric Blake
Subject: Re: FYI: bootstrap dangling symlink tweaks
Date: Tue, 01 Apr 2008 13:06:59 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 4/1/2008 9:25 AM:
| The first is because I found a few persistent dangling symlinks
| in lib/*.[ch] to be annoying.

| +find "$m4_base" "$source_base" \
| +  -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1

Except that doesn't delete dangling links in lib/*.[ch].

You need something like:

find "$m4_base" "$source_base" -depth \
~  \( -name '*.m4' -o -name '*.[ch]' \) -type l -xtype l -delete

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfyh9IACgkQ84KuGfSFAYBpkQCdENY3CIENCZHFIlYUXIkEWQlg
PyMAoNAe5Nu7NR9Rsk5l98LapahMmSMN
=FX51
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]