GNU bug report logs - #20733
coreutils build problem

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Thu, 4 Jun 2015 19:18:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 20733 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 20733 <at> debbugs.gnu.org, Michael Felt <mamfelt <at> gmail.com>
Subject: Re: bug#20733: coreutils build problem
Date: Thu, 04 Jun 2015 13:43:31 -0600
[Message part 1 (text/plain, inline)]
On 06/04/2015 01:35 PM, Andreas Schwab wrote:
> Paul Eggert <eggert <at> cs.ucla.edu> 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

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 10 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.