Bug 393036, fix verify_locales for 1.5.0.x installers (followup to initial patch), r=rhelmer

This commit is contained in:
nrthomas@gmail.com 2007-12-11 10:17:27 -08:00
Родитель a72b792ff8
Коммит 1a1d3bc893
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -14,7 +14,7 @@ for platform in linux-i686 win32 mac
do
rm -rf source/*
# unpack_build platform dir_name pkg_file
unpack_build $platform source $release/*.en-US.${platform}.*
unpack_build $platform source $release/*.en-US.${platform}.* en-US
# check for read-only files
find "./source" -not -perm -u=w -exec echo "FAIL read-only file" {} \;
@ -26,7 +26,7 @@ do
# this cannot be named $locale, because unpack_build will overwrite it
l=`echo $package | sed -e "s/\.${platform}.*//" -e 's/.*\.//'`
rm -rf target/*
unpack_build $platform target $release/$package
unpack_build $platform target $release/$package $l
# check for read-only files
find "./target" -not -perm -u=w -exec echo "FAIL read-only file" {} \;
mkdir -p $release/diffs