bug-coreutils
[Top][All Lists]
Advanced

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

bug#20733: coreutils build problem


From: Eric Blake
Subject: bug#20733: coreutils build problem
Date: Thu, 04 Jun 2015 13:43:31 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 06/04/2015 01:35 PM, Andreas Schwab wrote:
> Paul Eggert <address@hidden> writes:
> 
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -195,7 +195,8 @@ check-git-hook-script-sync:
>>  # the selected tools when installing.
>>  install-exec-hook:
>>      $(AM_V_at)ctrans=$$(printf coreutils | sed -e "$(transform)");  \
>> -    for p in $(single_binary_progs); do                             \
>> +    for p in x $(single_binary_progs); do                           \
>> +      test $$p = x && continue;                                     \
> 
> A better way to solve that is to use a shell variable:
> 
>         progs='$(single_binary_progs)'; \
>         for p in $$progs; do

You can also use something that expands into a no-op shell word:

for p in `` $(single_binary_progs); do

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
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]