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:22:26 +0000
- Organization: Coderus Ltd
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:
This email sent to email@hidden