зеркало из https://github.com/mozilla/pjs.git
backing out last checkin, shouldn't go in
This commit is contained in:
Родитель
62f84766e4
Коммит
7b37460137
|
@ -6,30 +6,30 @@ download_builds() {
|
|||
if [ "Darwin_ppc-gcc3" == $platform ]; then
|
||||
source_platform=mac-ppc
|
||||
dirname="mac-ppc"
|
||||
filename="Firefox 2.0 Beta 2.dmg"
|
||||
filename="$product _version_.dmg"
|
||||
shortfilename="`echo $product | tr '[A-Z]' '[a-z]'`-_version_.$locale.$dirname.dmg"
|
||||
elif [ "Darwin_Universal-gcc3" == $platform ]; then
|
||||
source_platform=mac
|
||||
dirname="mac"
|
||||
filename="Firefox 2.0 Beta 2.dmg"
|
||||
filename="$product _version_.dmg"
|
||||
shortfilename="`echo $product | tr '[A-Z]' '[a-z]'`-_version_.$locale.$dirname.dmg"
|
||||
elif [ "Linux_x86-gcc3" == $platform ]; then
|
||||
source_platform=linux
|
||||
dirname="linux-i686"
|
||||
#dirname="linux"
|
||||
filename="firefox-2.0b2.tar.gz"
|
||||
filename="`echo $product | tr '[A-Z]' '[a-z]'`-_version_.tar.gz"
|
||||
shortfilename="`echo $product | tr '[A-Z]' '[a-z]'`-_version_.$locale.$dirname.tar.gz"
|
||||
elif [ "WINNT_x86-msvc" == $platform ]; then
|
||||
source_platform=win32
|
||||
dirname="win32"
|
||||
filename="Firefox Setup 2.0 Beta 2.exe"
|
||||
shortfilename="`echo $product | tr '[A-Z]' '[a-z]'`-_version_.$locale.$dirname.installer.exe"
|
||||
filename="$product Setup _version_.exe"
|
||||
shortfilename="`echo $product | tr '[A-Z]' '[a-z]'`-_version_.$locale.$dirname.exe"
|
||||
fi
|
||||
|
||||
echo "checking $platform $locale"
|
||||
|
||||
source_file=`echo $filename | sed "s/_version_/$release/"`
|
||||
target_file=`echo $shortfilename | sed "s/_version_/$latest/"`
|
||||
target_file=`echo $filename | sed "s/_version_/$latest/"`
|
||||
cp update/partial.mar update/update.mar
|
||||
if [ -f "$source_file" ]; then rm "$source_file"; fi
|
||||
#PARAMS="--user=user --password=pass"
|
||||
|
@ -45,7 +45,7 @@ download_builds() {
|
|||
fi
|
||||
popd > /dev/null
|
||||
if [ -f "$target_file" ]; then rm "$target_file"; fi
|
||||
build_url="http://stage.mozilla.org/pub/mozilla.org/`echo $product | tr '[A-Z]' '[a-z]'`/nightly/${latest}rc${rc}-candidates/rc${rc}/$target_file"
|
||||
build_url="http://stage.mozilla.org/pub/mozilla.org/`echo $product | tr '[A-Z]' '[a-z]'`/releases/$latest/$dirname/$locale/$target_file"
|
||||
pushd downloads > /dev/null
|
||||
if [ -f "$target_file" ]; then rm "$target_file"; fi
|
||||
wget -nv $PARAMS "$build_url" 2>&1
|
||||
|
|
Загрузка…
Ссылка в новой задаче