[Top][All Lists]

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

Re: Using environmnet variables in make

From: Sam Ravnborg
Subject: Re: Using environmnet variables in make
Date: Sat, 28 Feb 2009 20:29:07 +0100
User-agent: Mutt/

On Sun, Mar 01, 2009 at 12:06:54AM +0530, kalyan wrote:
> Hi John,
> I actually tried out these examples:
> case 1:
> test:
>         @export QA_STEP=start;touch ${QA_STEP}
> This case actually gave the error of "touch: file arguments missing". Note
> that using curly or normal braces gave the same error.

The intention here is to do it in the shell.
So the obvious fix is to escape the dollar sign like this:

        @export QA_STEP=start;touch $${QA_STEP}

Note the double $$


reply via email to

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