• 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: Alexander von Below <email@hidden>
  • Date: Fri, 17 Nov 2006 17:13:48 +0100

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Using Shell Scripts in build step help
      • From: Mark Thomas <email@hidden>
References: 
 >Using Shell Scripts in build step help (From: Mark Thomas <email@hidden>)

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