• 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: Using Shell Scripts in build step help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Using Shell Scripts in build step help


  • Subject: RE: Using Shell Scripts in build step help
  • From: "Syd Polk" <email@hidden>
  • Date: Fri, 17 Nov 2006 10:24:50 -0600

Try " instead.

> -----Original Message-----
> From: xcode-users-bounces+sydvicious=email@hidden
> [mailto:xcode-users-bounces+sydvicious=email@hidden
> ] On Behalf Of Mark Thomas
> Sent: Friday, November 17, 2006 10:22 AM
> To: Alexander von Below
> Cc: XCode Users List
> Subject: Re: Using Shell Scripts in build step help
>
> If I do
>
> install_name_tool -change /usr/lib/libcrypto.0.9.dylib
> /usr/lib/libcrypto.dylib '$BUILT_PRODUCTS_DIR'/'$EXECUTABLE_NAME'
>
> It doesn't seem to expand out the variables :-(
>
> Mark.
>
> > How about just using quotes around the vars?
> >
> > Alex
> >
> > Am 17.11.2006 um 17:07 schrieb Mark Thomas:
> >
> >> Hi,
> >>   I have need to use a 'Shell Script File', for building my project
> >> and all
> >> works fine, but I had to have a strange dependency because
> I'm using
> >> $BUILT_PRODUCTS_DIR and $EXECUTABLE_NAME e.g.
> >>
> >> install_name_tool -change /usr/lib/libcrypto.0.9.dylib
> >> /usr/lib/libcrypto.dylib $BUILT_PRODUCTS_DIR/$EXECUTABLE_NAME
> >> install_name_tool -change /usr/lib/libssl.0.9.dylib /usr/lib/
> >> libssl.dylib
> >> $BUILT_PRODUCTS_DIR/$EXECUTABLE_NAME
> >>
> >>   All works fine, if I don't have any spaces in either environment
> >> variable,
> >> but if there is there is a build error.
> >>
> >>   Unfortunately there doesn't seem to be a variable of
> both together.
> >>
> >> Any idea's how to make it a little more generic, because of issues
> >> of moving
> >> this code around different build systems and people.
> >>
> >> Thanks
> >> Mark.
> >>
> >>  _______________________________________________
> >> 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:
> 40mac.com
>
> 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

  • Follow-Ups:
    • Re: Using Shell Scripts in build step help
      • From: Mark Thomas <email@hidden>
References: 
 >Re: Using Shell Scripts in build step help (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: Using Shell Scripts in build step help
  • Next by Date: Re: Using Shell Scripts in build step help
  • Previous by thread: Re: Using Shell Scripts in build step help
  • Next by thread: Re: Using Shell Scripts in build step help
  • Index(es):
    • Date
    • Thread