automake-patches
[Top][All Lists]
Advanced

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

Re: *_DATA containing blanks


From: Raja R Harinath
Subject: Re: *_DATA containing blanks
Date: Wed, 23 Jul 2003 14:30:33 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Hi,

Ralf Corsepius <address@hidden> writes:

[snip]
>  ## Funny invocation because Makefile variable can be empty, leading to
>  ## a syntax error in sh.
> -     @list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
> +     if test -n '$(%DIR%_%PRIMARY%)'; then for p in $(%DIR%_%PRIMARY%); do \

Can you try:

  for p in ''$(%DIR%_%PRIMARY%); do case $p in '') : ;; *) \
    body here ; \
   esac done

This should avoid the syntax error.

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden




reply via email to

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