Chameleon

Chameleon Commit Details

Date:2011-10-22 08:10:44 (12 years 6 months ago)
Author:blackosx
Commit:1647
Parents: 1646
Message:Add a workaround for a problem with builddmg.sh where svn would report changes to all directories in the Chameleon source folder that exist before compiling.
Changes:
M/branches/blackosx/package/builddmg.sh

File differences

branches/blackosx/package/builddmg.sh
8585
8686
8787
88
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
89105
90106
91107
......
215231
216232
217233
234
218235
cp -r ${pkgroot}/Configuration/PrefPanel/* ${SRC_FOLDER}/PrefPanel/
cp -r ${SYM_ROOT}/i386/* ${SRC_FOLDER}/i386/
cp -r ${SYM_ROOT%/*}/artwork/themes/* ${SRC_FOLDER}/Themes/
rm -rf ${SRC_FOLDER}`find . -type d -name .svn`
#rm -rf ${SRC_FOLDER}`find . -type d -name .svn`
# The above line caused problems with svn reporting changes to all
# directories in the Chameleon source folder that exist before compiling
# svn status would show the following:
# ~ Chameleon.xcodeproj
# ~ artwork
# ~ i386
# ~ package
# ~ doc
# I've changed the code to this for now to get round the problem.
# Hopefully someone else can find out why it was happenening.
svnFilesToRemove=($( find "${SRC_FOLDER}" -type d -name '.svn'))
for (( i = 0 ; i < ${#svnFilesToRemove[@]} ; i++ ))
do
rm -rf ${svnFilesToRemove[$i]}
done
# =======================================
# 4) Find the size of the folder contents
echo "===================="
echo ""
#-----
exit 0

Archive Download the corresponding diff file

Revision: 1647