help-cfengine
[Top][All Lists]
Advanced

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

Re: variables in FileExists


From: Daniel Pittman
Subject: Re: variables in FileExists
Date: Tue, 29 Jul 2003 11:40:58 +1000
User-agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.5 (cassava)

On Mon, 28 Jul 2003, Eric Sorenson wrote:
> On Mon, 28 Jul 2003, Adrian Phillips wrote:
> 
>> >>>>> "Eric" == Eric Sorenson <address@hidden> writes:
>> 
>>     Eric> Hi, I'd like to be able to do this: groups: myconfig = (
>>     Eric> FileExists($(cfdir)/$(host).conf) )
>> 
>> Early morning still but :-
>> 
>>    ( FileExists("$(cfdir)/$(host).conf") )
>>

I had issues with variables in built-in commands when I used the $()
format; I think the parser got odd or something. Try with ${...}
instead.

        Daniel

-- 
Fortune rarely accompanies anyone to the door.
        -- Balthasar Gracian




reply via email to

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