Bug 1419141: Update thunderbird l10n-check step to match firefox; r=me

In particular, this picks up the fix from Bug 1228289.

MozReview-Commit-ID: 1EoPMVUiqAb

--HG--
extra : rebase_source : 6636c526402aa96b0f10bd5974ae356a8088068f
extra : amend_source : 7f1365b70e17d39a2eff0d28a2b646140b123006
This commit is contained in:
Tom Prince 2017-11-20 09:54:12 -07:00
Родитель e1d4c7ae04
Коммит 8449c738ec
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -192,11 +192,15 @@ endif
# test target, depends on make package # test target, depends on make package
# try to repack x-test, with just toolkit/defines.inc being there # try to repack x-test, with just toolkit/defines.inc being there
l10n-check:: INNER_UNMAKE_PACKAGE=true
l10n-check:: l10n-check::
$(RM) -rf x-test $(RM) -rf x-test
$(NSINSTALL) -D x-test/toolkit $(NSINSTALL) -D x-test/toolkit
echo '#define MOZ_LANG_TITLE Just testing' > x-test/toolkit/defines.inc echo '#define MOZ_LANG_TITLE Just testing' > x-test/toolkit/defines.inc
$(MAKE) installers-x-test L10NBASEDIR='$(PWD)' $(MAKE) installers-x-test L10NBASEDIR='$(PWD)' \
ZIP_IN='$(ZIP_IN)' WIN32_INSTALLER_IN='$(WIN32_INSTALLER_IN)' MOZ_SIMPLE_PACKAGE_NAME=
$(PYTHON) $(topsrcdir)/toolkit/mozapps/installer/unpack.py $(DIST)/l10n-stage/$(MOZ_PKG_DIR)$(_RESPATH)
cd $(DIST)/l10n-stage && test $$(cat $(MOZ_PKG_DIR)$(_RESPATH)/update.locale) = x-test
ifdef MOZ_CALENDAR ifdef MOZ_CALENDAR
LIGHTNING_PATH=$(commtopobjdir)/calendar/lightning LIGHTNING_PATH=$(commtopobjdir)/calendar/lightning