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 18894 b89d2b3b63094a3b6bad8956872cb40085c95005
parent 18893 a53876abc12b096cbe64f81d507177ea3cb5da32
child 18895 d8c36ca11fb1df1fe8011d710ce850fcc27af04a
push id1313
push usermbanner@mozilla.com
push dateThu, 06 Nov 2014 21:51:52 +0000
treeherdercomm-aurora@49d7c18fa0a1 [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/*