• 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: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"


  • Subject: Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"
  • From: Aaron Montgomery <email@hidden>
  • Date: Tue, 16 Oct 2012 08:57:03 -0700

Based on my limited experience working with Xcode and the shell, my guess was that he has a environment variable CP set to something like "/bin/cp" so that he know exactly which cp command is being invoked but doesn't need to keep typing in the full path.

Aaron

On Oct 16, 2012, at 8:23 AM, Jerry Krinock <email@hidden> wrote:

>
> On 2012 Oct 13, at 21:32, Marco S Hyman <email@hidden> wrote:
>
>> ${CP} -pR "$ARCHIVE_PRODUCTS_PATH/$INSTALL_PATH/$WRAPPER_NAME" ~/Desktop
>
> Back to Marco's Post-action script.  Apparently, Marco is invoking the unix "cp" program, but he capitalizes the command, encloses it in curly brackets, and prepends a $.
>
> What does that do, or even better, where is the Xcode documentation which explains how to write Post-action shell scripts like that?
>
> Thanks,
>
> Jerry Krinock
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Finding the Xcode 4 "Build Products Path" (From: Jerry Krinock <email@hidden>)
 >Re: Finding the Xcode 4 "Build Products Path" (From: Shane Stanley <email@hidden>)
 >Re: Finding the Xcode 4 "Build Products Path" (From: Jerry Krinock <email@hidden>)
 >Re: Finding the Xcode 4 "Build Products Path" (From: Marco S Hyman <email@hidden>)
 >Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path" (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Why ARC over garbage collection?
  • Next by Date: Re: Why ARC over garbage collection?
  • Previous by thread: Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"
  • Next by thread: Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"
  • Index(es):
    • Date
    • Thread