Chameleon

Chameleon Commit Details

Date:2011-08-30 05:05:00 (12 years 7 months ago)
Author:Azimutz
Commit:1481
Parents: 1480
Message:Clean and look for possible bs...
Changes:
M/branches/azimutz/Package/package/buildpkg.sh

File differences

branches/azimutz/Package/package/buildpkg.sh
294294
295295
296296
297
298
299
300
301
302
303
304
305
297
298
299
306300
307301
308
302
309303
310
304
311305
312306
313307
for (( i = 0 ; i < ${#themes[@]} ; i++ ))
do
theme=$( echo ${themes[$i]##*/} | awk 'BEGIN{OFS=FS=""}{$1=toupper($1);print}' )
echo "theme = ${theme}"
#mkdir -p "${1}/${themes[$i]##*/}/Root/" # theme
mkdir -p "${1}/${theme}/Root"# Theme
echo "mkdir: ${1}/${theme}/Root"
echo "rsync from: ${themes[$i]}/"
rsync -rv --exclude=.svn "${themes[$i]}/" "${1}/${theme}/Root/${theme}"
# #### Comment out thx meklort
# ditto --noextattr --noqtn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}"
# ####
mkdir -p "${1}/${theme}/Root"
rsync -r --exclude=.svn "${themes[$i]}/" "${1}/${theme}/Root/${theme}"
# clean .../sym/package/Theme, not .../artwork/themes/theme
find "${1}/${theme}" -name '.DS_Store' -or -name '.svn' -exec rm -R {} \+
find "${1}/${theme}" -type f -exec chmod 644 {} \+# chmod ?
echo "[BUILD] ${1}/${theme}" # = .../sym/package/Theme
echo "[BUILD] ${theme}"
buildpackage "${1}/${theme}" "/Extra/Themes" "" "start_selected=\"false\"" >/dev/null 2>&1
#rm -R -f "${1}/${i##*/}" # = .../sym/package/0, .../1, .../2, etc...
#rm -R -f "${1}/${i##*/}" # = .../sym/package/0, .../1, etc... not needed anyway
done
((xmlindent--))

Archive Download the corresponding diff file

Revision: 1481