From cb486f720e9da1cc0e43bb8ae1fc4da6fc81842a Mon Sep 17 00:00:00 2001 From: sboyette Date: Tue, 8 Dec 2009 21:46:50 +0000 Subject: [PATCH] turns out i needed 'newpot' as well as 'newpo'. also split up for loop over several lines for readability git-svn-id: svn://svn.open-ils.org/ILS/trunk@15111 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- build/i18n/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build/i18n/Makefile b/build/i18n/Makefile index 994ca1304c..34a5c78bc8 100644 --- a/build/i18n/Makefile +++ b/build/i18n/Makefile @@ -234,5 +234,11 @@ install: updatepo project fmidl2fmidlent fmidlpo2entity-en mkdir -p $(DOJO_RPT_SRC)/$(DOJO_LOCALE) cp $(PROJECT)/$(LOCALE)/reports.js $(DOJO_RPT_SRC)/$(DOJO_LOCALE)/reports.js -install_all_locales: newpo - for i in `ls po/*/*po|grep -v en-US | cut -f3 -d'/' | cut -f1 -d. | sort | uniq`; do RC=`make LOCALE=$$i install`; if [ "$$RC" > "0" ]; then break; fi; done +install_all_locales: newpo newpot + for i in `ls po/*/*po|grep -v en-US | cut -f3 -d'/' | cut -f1 -d. | sort | uniq`; \ + do \ + make LOCALE=$$i install; \ + RC=$$?; \ + if [ "$$RC" -gt 0 ]; \ + then echo $$RC; exit $$RC; \ + fi; done -- 2.43.2