Subject: Re: make: Unclosed variable specification for MOZILLA_EXTENSIONS
To: Jeremy C. Reed <>
From: Todd Vierling <>
List: tech-pkg
Date: 04/22/2005 16:03:46
On Fri, 22 Apr 2005, Jeremy C. Reed wrote:

> This is related to the "mk/tools/" thread going on, I think.
> What is the portable way to replace the nbmake :ts modifier?

Shellcode.  To make it deferrable, use something like:

FOO_cmd=	${ECHO} ${BAR} | ${TR} ' ' ',' # where , is char; note NO !=
FOO=		${FOO_cmd:sh}

Evaluation of ${FOO} will run the shell command inline and replace it with
the shell command's output.

-- Todd Vierling <> <> <>