bug-automake
[Top][All Lists]
Advanced

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

Re: Problems building coreutils HEAD against gnulib HEAD


From: Andreas Schwab
Subject: Re: Problems building coreutils HEAD against gnulib HEAD
Date: Tue, 19 Feb 2008 16:37:41 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Jim Meyering <address@hidden> writes:

> +# Remove dangling symlinks in gnulib-populated directories.
> +# 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 -L m4 lib build-aux -depth -lname '*' -delete > /dev/null 2>&1

Why do you need -depth?  Also, find 4.1 does not support -L nor -delete.
A more portable predicate is -xtype l.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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