Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"
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