bug 405856 - pull the whole l10n/ab-CD/ dir with L10n checkout to solve the problem of pulling of optional L10n directories, r=bsmedberg,l10n@mozilla.com a=beltzner
authorkairo@kairo.at
Tue, 18 Dec 2007 08:09:06 -0800
changeset 9411 854eece751ad21463fad2629f93fdc96857de29e
parent 9410 c7545b8f1bc59e3113110a80173213d2bd6331a3
child 9412 5842a5da6dae0b6823508338a5318a06009e9e90
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg, l10n, beltzner
bugs405856
milestone1.9b3pre
bug 405856 - pull the whole l10n/ab-CD/ dir with L10n checkout to solve the problem of pulling of optional L10n directories, r=bsmedberg,l10n@mozilla.com a=beltzner
client.mk
--- a/client.mk
+++ b/client.mk
@@ -729,19 +729,19 @@ FASTUPDATE_LOCALES := true
 CHECKOUT_LOCALES := true
 else
 
 override MOZ_CO_LOCALES := $(subst $(comma), ,$(MOZ_CO_LOCALES))
 
 ifeq (all,$(MOZ_CO_LOCALES))
 MOZCONFIG_MODULES += $(foreach project,$(MOZ_PROJECT_LIST),mozilla/$(project)/locales/all-locales)
 
-LOCALE_CO_DIRS := $(sort $(foreach project,$(MOZ_PROJECT_LIST),$(foreach locale,$(shell cat mozilla/$(project)/locales/all-locales),$(foreach dir,$(LOCALES_$(project)),l10n/$(locale)/$(dir)))))
+LOCALE_CO_DIRS := $(sort $(foreach project,$(MOZ_PROJECT_LIST),$(foreach locale,$(shell cat mozilla/$(project)/locales/all-locales),l10n/$(locale)/)))
 else # MOZ_CO_LOCALES != all
-LOCALE_CO_DIRS = $(sort $(foreach locale,$(MOZ_CO_LOCALES),$(foreach dir,$(LOCALE_DIRS),l10n/$(locale)/$(dir))))
+LOCALE_CO_DIRS = $(sort $(foreach locale,$(MOZ_CO_LOCALES),l10n/$(locale)/))
 endif
 
 CVSCO_LOCALES := $(CVS) $(CVS_FLAGS) -d $(LOCALES_CVSROOT) co $(LOCALES_CO_FLAGS) $(CVS_CO_LOCALES_DATE_FLAGS) $(LOCALE_CO_DIRS)
 
 FASTUPDATE_LOCALES := fast_update $(CVSCO_LOCALES)
 CHECKOUT_LOCALES := cvs_co $(CVSCO_LOCALES)
 endif #MOZ_CO_LOCALES