help-make
[Top][All Lists]
Advanced

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

Re: Using environmnet variables in make


From: kalyan
Subject: Re: Using environmnet variables in make
Date: Sun, 1 Mar 2009 01:27:04 +0530

ah..yes..i missed that..perfect..

Regards
Kalyan


On Sun, Mar 1, 2009 at 12:59 AM, Sam Ravnborg <address@hidden> wrote:
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:

test:
      address@hidden QA_STEP=start;touch $${QA_STEP}

Note the double $$

       Sam


reply via email to

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