• 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: Copy File/ Shell Script Phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Copy File/ Shell Script Phase (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Undo with a field editor
  • Next by Date: Re: Copy File/ Shell Script Phase
  • Previous by thread: Copy File/ Shell Script Phase
  • Next by thread: Re: Copy File/ Shell Script Phase
  • Index(es):
    • Date
    • Thread