bug-gnulib
[Top][All Lists]
Advanced

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

broken symlinks after updating from gnulib


From: Eric Blake
Subject: broken symlinks after updating from gnulib
Date: Sat, 25 Aug 2007 18:00:04 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

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

I've noticed that after using either gnulib-tool (such as in m4 or
findutils) or bootstrap (in coreutils), when symlinks are used instead of
copies, that the deletion of a file in gnulib leaves a broken symlink in
the tree.  In the worst case, when a .m4 file is left dangling, it breaks
the autoreconf of the directory, because autoreconf refuses to proceed in
the face of a broken symlink.

For findutils, I recently added a patch to the import-gnulib.sh script to
call 'find -L -lname '*' -delete' after the fact (yes, this is GNU find
specific, but does the job of deleting all broken symlinks).  But it would
be better if gnulib-tool and bootstrap were taught to do this instead.

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

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

iD8DBQFG0MKE84KuGfSFAYARAgaYAJwJ8E85hOCR8w+6TzHPfSCGU1Tb2wCgueWK
HvNTrsBr4Tv0ZtJ2KWMHmeA=
=F8rJ
-----END PGP SIGNATURE-----




reply via email to

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