On 05/14/2011 02:41 AM, Jim Meyering wrote:
>> But this won't work if the file names contain spaces.
> 
> Good point.  But this does:
> 
>   inums=`ls -1diL "$src" "$dst" 2>/dev/null|sed 's/ .*//'` && set $inums &&
>   test "$1" = "$2" || {
> 
> However, it could still fail for any name containing a newline.

Fortunately, bootstrap only operates on files from gnulib, none of which
have newlines in their name.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to