bug-gnulib
[Top][All Lists]
Advanced

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

Re: bootstrap symlink dependencies


From: Eric Blake
Subject: Re: bootstrap symlink dependencies
Date: Sat, 14 May 2011 08:42:19 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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