[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Newbie question - testing for OS. . .
From: |
Dave Korn |
Subject: |
RE: Newbie question - testing for OS. . . |
Date: |
Tue, 19 Dec 2006 23:40:21 -0000 |
On 19 December 2006 23:34, Mike Shal wrote:
> On 12/19/06, Dave Korn <address@hidden> wrote:
> Though keep in mind that everytime you use $(OS_VERSION) it will
> execute another shell command.
Yes, silly me.
> OS_VERSION:=$(shell uname)
>
> (note the ":=") This will execute the shell only once, when the
> variable is declared.
Absolutely.
cheers,
DaveK
--
Can't think of a witty .sigline today....