Re: Using Shell Scripts in build step help
Re: Using Shell Scripts in build step help
- Subject: Re: Using Shell Scripts in build step help
- From: Mark Thomas <email@hidden>
- Date: Fri, 17 Nov 2006 16:36:52 +0000
- Organization: Coderus Ltd
Perfect, thanks
install_name_tool -change /usr/lib/libcrypto.0.9.dylib
/usr/lib/libcrypto.dylib "$BUILT_PRODUCTS_DIR"/"$EXECUTABLE_NAME"
Mark.
> 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