Subject: Re: bug#20733: coreutils build problem

From: Andreas Schwab <[email-masked]>
Date: Thu, 04 Jun 2015 21:35:08 +0200

Paul Eggert <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."