From a810d89092c9c8dea66d74630b80c55f3dce9382 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 27 Dec 2010 10:57:53 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20first=20Default=20Bundle=20and=20pr?= =?UTF-8?q?ocedure=20to=20copy=20them=20into=20BUILD=5FPRODUCT/Contents/Sh?= =?UTF-8?q?aredSupport=20done=20in=20build.sh=20while=20compiling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Scripts') diff --git a/Scripts/build.sh b/Scripts/build.sh index 82c788de..409ec419 100755 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -42,6 +42,12 @@ then "${SRCROOT}/Scripts/trim-application.sh" -p "$BUILD_PRODUCT" -a fi +# Copy all Default Bundles to build product +rm -rf "${BUILD_PRODUCT}/Contents/SharedSupport/Default Bundles" +mkdir "${BUILD_PRODUCT}/Contents/SharedSupport" +mkdir "${BUILD_PRODUCT}/Contents/SharedSupport/Default Bundles" +cp -R "${SRCROOT}/SharedSupport/Default Bundles" "${BUILD_PRODUCT}/Contents/SharedSupport" + # Perform distribution specific tasks if this is a 'Distribution' build if [ "$CONFIGURATION" == 'Distribution' ] then -- cgit v1.2.3 From a8a48e6ebf8ff8a3a897e896d33ed21080039d40 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 27 Dec 2010 19:33:09 +0000 Subject: Simplify build script. --- Scripts/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Scripts') diff --git a/Scripts/build.sh b/Scripts/build.sh index 409ec419..a9291abb 100755 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -44,8 +44,9 @@ fi # Copy all Default Bundles to build product rm -rf "${BUILD_PRODUCT}/Contents/SharedSupport/Default Bundles" -mkdir "${BUILD_PRODUCT}/Contents/SharedSupport" -mkdir "${BUILD_PRODUCT}/Contents/SharedSupport/Default Bundles" + +mkdir -p "${BUILD_PRODUCT}/Contents/SharedSupport/Default Bundles" + cp -R "${SRCROOT}/SharedSupport/Default Bundles" "${BUILD_PRODUCT}/Contents/SharedSupport" # Perform distribution specific tasks if this is a 'Distribution' build -- cgit v1.2.3