Re: Script Phase - Check if we running on 10.4?
Re: Script Phase - Check if we running on 10.4?
- Subject: Re: Script Phase - Check if we running on 10.4?
- From: Craig Hunter <email@hidden>
- Date: Sat, 04 Jun 2005 10:07:28 -0400
> Message: 4
> Date: Sat, 4 Jun 2005 02:24:54 -0400
> From: Julian <email@hidden>
> Subject: Script Phase - Check if we running on 10.4?
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Hi,
> I am using a a script phase (bash) to perform several operations. I
> need to perform one operation if the system is 10.4 only, so my
> question is in my script how can I test if the current system we are
> building on is 10.4 or higher?
Try this in your script:
sw_vers -productVersion
Craig
--
Dr. Craig A. Hunter
NASA Langley Research Center
AAAC / Configuration Aerodynamics Branch
(757) 864-3020
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden