Confirmed users
3,104
edits
| Line 221: | Line 221: | ||
mkdir -p 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643 | mkdir -p 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643 | ||
rsync -av --exclude partial.txt 4.0b6/Darwin_x86_64-gcc3/20100914073111/ 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643/ | rsync -av --exclude partial.txt 4.0b6/Darwin_x86_64-gcc3/20100914073111/ 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643/ | ||
mkdir -p 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/{beta,release}test | |||
# setup snippet | |||
cat > 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/releasetest/complete.txt << EOF | |||
version=1 | |||
type=complete | |||
url=http://download.mozilla.org/?product=firefox-4.0b8-complete&os=osx64&lang=ja-JP-mac | |||
hashFunction=SHA512 | |||
hashValue=66ffd1fbcf11d90680774891dc5b4c57122d0e91e77184a98c58d437f56dbf871203bc449cfb5094daf0cdb1bc8d867c6aa4ec66f4025bf9302172833f282707 | |||
size=27373764 | |||
build=20101214165004 | |||
appv=4.0 Beta 8 | |||
extv=4.0b8 | |||
detailsUrl=http://www.mozilla.com/ja-JP-mac/firefox/4.0b8/releasenotes/ | |||
EOF | |||
sed -e 's!^url=.*!url=http://stage-old.mozilla.org/pub/mozilla.org/firefox/nightly/4.0b8-candidates/build1/update/mac64/ja-JP-mac/firefox-4.0b8.complete.mar!' \ | |||
4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/releasetest/complete.txt \ | |||
> 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/betatest/complete.txt | |||
# copy to other locations, ja was added at b5 | |||
dirs=`find 4.0b{4,5,6,7} -maxdepth 1 -mindepth 1 -type d -name '*Darwin*' ! -wholename '4.0b6/Darwin_x86_64-gcc3' | sort` | |||
for d in $dirs; do | |||
rsync -av 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac $d/*/ | |||
done | |||
# fix paths/os | |||
find */Darwin* -type f -exec sed -i -e 's!update/mac64/!update/mac/!' -e 's!os=osx64!os=osx!' {} \; | |||
cd ../../ | |||
rsync -a 20101214-Firefox-4.0b8-test-fixed/ 20101214-Firefox-4.0b8-fixed/ | |||
cd 20101214-Firefox-4.0b8-fixed/Firefox | |||
find . -depth -name 'betatest' -type d -exec rm -rf {} \; | |||
find . -mindepth 4 -maxdepth 4 -type d -exec mv {}/{releasetest,beta} \; | |||
</pre> | </pre> | ||