[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/1.4.2.1i |
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:
@export QA_STEP=start;touch $${QA_STEP}
Note the double $$
Sam
- Using environmnet variables in make, albob, 2009/02/26
- Re: Using environmnet variables in make, Tom Browder, 2009/02/26
- RE: Using environmnet variables in make, John Calcote, 2009/02/26
- Re: Using environmnet variables in make, kalyan, 2009/02/26
- RE: Using environmnet variables in make, John Calcote, 2009/02/27
- Re: Using environmnet variables in make, Tom Browder, 2009/02/27
- Re: Using environmnet variables in make, kalyan, 2009/02/28
- Re: Using environmnet variables in make,
Sam Ravnborg <=
- Re: Using environmnet variables in make, kalyan, 2009/02/28
- Re: Using environmnet variables in make, Paul Smith, 2009/02/28
- Re: Using environmnet variables in make, David Boyce, 2009/02/28
- Re: Using environmnet variables in make, Paul Smith, 2009/02/28
- Re: Using environmnet variables in make, John Calcote, 2009/02/28