• 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 Headers that preserves subdirectory structure?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy Headers that preserves subdirectory structure?


  • Subject: Re: Copy Headers that preserves subdirectory structure?
  • From: Mike Jackson <email@hidden>
  • Date: Fri, 12 Oct 2007 15:24:36 -0400

Agreed. That was written when I was still "wet behind the ears". I actually do not use that project any more but the clarification is definitely welcome.

Cheers.
--
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Oct 12, 2007, at 2:54 PM, Greg Guerin wrote:

Mike Jackson wrote:

echo 'SRCROOT:'${SRCROOT}
cd ${SRCROOT}


# I have to move up a directory due to my layout. echo 'Copying Usul Headers into Framework..' cd ../ for H in `find ./Usul -name "*.h"`; do echo ${H} ditto ${H} ${BUILT_PRODUCTS_DIR}/${H} done

As given, the unquoted expansions may fail if any pathname contains
embedded whitespace, with possibly horrible consequences. This is what
double-quotes are for.


Suggested minimum improvements:
  ...
  cd "${SRCROOT}"
  ...
    echo "${H}"
    ditto "${H}" "${BUILT_PRODUCTS_DIR}/${H}"

  -- GG


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.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
References: 
 >Re: Copy Headers that preserves subdirectory structure? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Copy Headers that preserves subdirectory structure?
  • Next by Date: GCC 3.3 template compile error?
  • Previous by thread: Re: Copy Headers that preserves subdirectory structure?
  • Next by thread: Who has a wstring data formatter?
  • Index(es):
    • Date
    • Thread