зеркало из https://github.com/mozilla/pjs.git
Bug 393036, fix verify_locales for 1.5.0.x installers (followup to initial patch), r=rhelmer
This commit is contained in:
Родитель
0f7170be57
Коммит
66e35c5828
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче