Bug 1081400 - l10n packager error since new file structure. r=Callek,a=Standard8
authorNomis101 <Nomis101@web.de>
Sat, 25 Oct 2014 15:18:14 -0400
changeset 25509 0fe28ab01beb8561c766c898a2282e422ebe95b4
parent 25508 6874a3e0064dbf0b52561eacc155865eff26bd41
child 25510 0c826c10f86e423aefd5297fb460e8de57715326
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, Standard8
bugs1081400
Bug 1081400 - l10n packager error since new file structure. r=Callek,a=Standard8
mail/installer/Makefile.in
mail/installer/package-manifest.in
--- a/mail/installer/Makefile.in
+++ b/mail/installer/Makefile.in
@@ -107,16 +107,19 @@ include $(MOZILLA_SRCDIR)/toolkit/mozapp
 ifeq (Darwin, $(OS_ARCH))
 BINPATH = $(_BINPATH)
 DEFINES += -DAPPNAME=$(_APPNAME)
 else
 BINPATH = bin
 endif
 DEFINES += -DBINPATH=$(BINPATH)
 
+AB = $(firstword $(subst -, ,$(AB_CD)))
+DEFINES += -DAB=$(AB)
+
 DEFINES += -DMOZ_ICU_VERSION=$(MOZ_ICU_VERSION)
 ifdef MOZ_NATIVE_ICU
 DEFINES += -DMOZ_NATIVE_ICU
 endif
 ifdef MOZ_SHARED_ICU
 DEFINES += -DMOZ_SHARED_ICU
 endif
 DEFINES += -DMOZ_ICU_DBG_SUFFIX=$(MOZ_ICU_DBG_SUFFIX)
--- a/mail/installer/package-manifest.in
+++ b/mail/installer/package-manifest.in
@@ -25,17 +25,17 @@
 #endif
 
 #ifdef XP_MACOSX
 ; Mac bundle stuff
 @APPNAME@/Contents/Info.plist
 @APPNAME@/Contents/PkgInfo
 @APPNAME@/Contents/Library/
 @APPNAME@/Contents/Resources/thunderbird.icns
-@APPNAME@/Contents/Resources/en.lproj/*
+@APPNAME@/Contents/Resources/@AB@.lproj/*
 #endif
 
 [@AB_CD@]
 @BINPATH@/chrome/@AB_CD@@JAREXT@
 @BINPATH@/chrome/@AB_CD@.manifest
 @BINPATH@/@PREF_DIR@/all-l10n.js
 @BINPATH@/searchplugins/*
 @BINPATH@/dictionaries/*