Add a check for tools/osx-bundle.sed, if it doesn't exist it will create 0 byte files, strange things can happen.

Originally committed to SVN as r4953.
This commit is contained in:
Amar Takhar 2010-12-11 01:32:59 +00:00
parent 572e27f681
commit a2513f03a7

View file

@ -37,6 +37,12 @@ mkdir -v "${PKG_DIR}/Contents/SharedSupport/dictionaries"
echo
echo "---- Copying Skel Files ----"
if ! test -f "tools/osx-bundle.sed"; then
echo
echo "NOT FOUND: tools/osx-bundle.sed";
exit 1;
fi
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.dtd "${PKG_DIR}/Contents/Resources/etc/fonts"