• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Phase - Check if we running on 10.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Best Approach? spinning cube
  • Next by Date: Intel? Huh?
  • Previous by thread: Script Phase - Check if we running on 10.4?
  • Next by thread: Best Approach? spinning cube
  • Index(es):
    • Date
    • Thread