Re: Copy File/ Shell Script Phase
Re: Copy File/ Shell Script Phase
- Subject: Re: Copy File/ Shell Script Phase
- From: Iain Wood <email@hidden>
- Date: Thu, 25 Mar 2004 17:13:57 +0000
On 25 Mar 2004, at 16:50, Jerry LeVan wrote:
It appears to me that a Shell Script build phase requires absolute
paths and thus would break if the project were to be moved.
I have shell script build phases that make use of relative paths. They
work fine. Here's one taken straight out of the shell script phase's
info window. sedCommands and generatedFiles are folders in the same
folder as my .xcode file:
echo "*********** Building files for inclusion in NovaController.m
******************"
echo "*********** Building IBActions
************************************************"
sed -f sedCommands/buildNrpnIBActions NRPN >GeneratedFiles/IBActions
sed -f sedCommands/buildCcIBActions CC >>GeneratedFiles/IBActions
sed -f sedCommands/buildNrpnButtonIBActions NRPNButtons
>>GeneratedFiles/IBActions
echo "*********** Building Cases
****************************************************"
sed -f sedCommands/buildCases NRPN >GeneratedFiles/NrpnCases
#sed -f sedcommands/buildNRPNButtonCases
NRPNButtons>>GeneratedFiles/NrpnCases
sed -f sedCommands/buildCases CC >GeneratedFiles/CcCases
Iain
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.