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 #13 received at 20733 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: 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 21:35:08 +0200
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

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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.