• 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: cp from Xcode Shell script target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp from Xcode Shell script target


  • Subject: Re: cp from Xcode Shell script target
  • From: JT Burgess <email@hidden>
  • Date: Thu, 4 Mar 2010 16:43:24 -0500

Hmm, it seems that the /bin/cp is actually the bad one, and yet still
the one I want to use.

I have coreutils installed through MacPorts, and that one does the
copy properly. Unfortunately, this is just on my development machine,
and we have a build machine elsewhere which I believe we do not want
to have to do crazy things to the environment, like installing
coreutils.

which cp: /opt/local/bin/cp
whereis cp: /bin/cp

Is there a different set of options I should be passing to cp in this
case? It looks like all the paths/permission are getting copied
properly, but as long as I'm using /bin/cp for copying the Framework,
I can't get the app to run.

On Thu, Mar 4, 2010 at 2:57 PM, Paul Sanders <email@hidden> wrote:
> Try /bin/cp ... in your shell script.  If that works, you could
> do a whereis cp in your shell script to track down the one that
> is failing you.
>
> Paul Sanders.
>
> ----- Original Message -----
> From: "JT Burgess" <email@hidden>
> To: <email@hidden>
> Sent: Thursday, March 04, 2010 7:47 PM
> Subject: cp from Xcode Shell script target
>
>
> It appears that xcode is using a different version of cp than
> Terminal is
>
>
>
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: cp from Xcode Shell script target
      • From: "Paul Sanders" <email@hidden>
    • Re: cp from Xcode Shell script target
      • From: Sherm Pendley <email@hidden>
References: 
 >cp from Xcode Shell script target (From: JT Burgess <email@hidden>)
 >Re: cp from Xcode Shell script target (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: cp from Xcode Shell script target
  • Next by Date: Re: cp from Xcode Shell script target
  • Previous by thread: Re: cp from Xcode Shell script target
  • Next by thread: Re: cp from Xcode Shell script target
  • Index(es):
    • Date
    • Thread