Remove symlinks to libtool files

This prevents dangling symlinks to removed libtool files when
the !libtool option is used.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2008-06-27 15:01:02 +10:00 committed by Dan McGee
parent deec3c8d00
commit d534488f2d
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ tidy_install() {
if [ "$(check_option libtool)" = "n" ]; then
msg2 "$(gettext "Removing libtool .la files...")"
find . -type f -name "*.la" -exec rm -f -- '{}' \;
find . ! -type d -name "*.la" -exec rm -f -- '{}' \;
fi
if [ "$(check_option emptydirs)" = "n" ]; then