PageRenderTime 28ms CodeModel.GetById 22ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Examples/MapsSample/buildCopyScript

http://macfuse.googlecode.com/
Shell | 14 lines | 4 code | 2 blank | 8 comment | 1 complexity | 7526efb05184becb6d36377f9733bf0b MD5 | raw file
 1#!/bin/sh -x
 2#
 3# This script tries to move the built GData.framework
 4# into a place the example application's Copy Frameworks phase
 5# will find it, regardless of whether projects are set to share
 6# a build location or use the default build location
 7
 8# if the framework exists in the GData project's build directory,
 9# copy it to this project's build directory
10
11if [ -d "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" ] ; then
12  rm -rf "$BUILT_PRODUCTS_DIR/GData.framework"
13  ditto -v "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" "$BUILT_PRODUCTS_DIR/GData.framework"
14fi