From 47bd9666c5fdffe877a91e20c513ea0607ad1914 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 1 Jan 2009 05:59:41 +0000 Subject: [PATCH] Fix scripts/osx-bundle.sh to copy the fontconfig config files. Originally committed to SVN as r2598. --- scripts/osx-bundle.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/osx-bundle.sh b/scripts/osx-bundle.sh index d5c2efba2..fb39858a1 100755 --- a/scripts/osx-bundle.sh +++ b/scripts/osx-bundle.sh @@ -19,12 +19,18 @@ mkdir -v ${PKG_DIR} mkdir -v ${PKG_DIR}/Contents mkdir -v ${PKG_DIR}/Contents/MacOS mkdir -v ${PKG_DIR}/Contents/Resources +mkdir -v ${PKG_DIR}/Contents/Resources/etc +mkdir -v ${PKG_DIR}/Contents/Resources/etc/fonts +mkdir -v ${PKG_DIR}/Contents/Resources/etc/fonts/conf.d mkdir -v ${PKG_DIR}/Contents/SharedSupport mkdir -v ${PKG_DIR}/Contents/SharedSupport/dictionaries echo echo "---- Copying Skel Files ----" -cp -v ${SKEL_DIR}/Contents/Resources/* ${PKG_DIR}/Contents/Resources +find ${SKEL_DIR} -type f -not -regex ".*.svn.*" +cp ${SKEL_DIR}/Contents/Resources/*.icns ${PKG_DIR}/Contents/Resources +cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.* ${PKG_DIR}/Contents/Resources/etc/fonts +cp ${SKEL_DIR}/Contents/Resources/etc/fonts/conf.d/*.conf ${PKG_DIR}/Contents/Resources/etc/fonts/conf.d cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Info.plist echo