[open-ils-commits] r15111 - trunk/build/i18n (sboyette)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 8 16:46:55 EST 2009
Author: sboyette
Date: 2009-12-08 16:46:50 -0500 (Tue, 08 Dec 2009)
New Revision: 15111
Modified:
trunk/build/i18n/Makefile
Log:
turns out i needed 'newpot' as well as 'newpo'. also split up for loop over several lines for readability
Modified: trunk/build/i18n/Makefile
===================================================================
--- trunk/build/i18n/Makefile 2009-12-08 21:40:33 UTC (rev 15110)
+++ trunk/build/i18n/Makefile 2009-12-08 21:46:50 UTC (rev 15111)
@@ -234,5 +234,11 @@
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
More information about the open-ils-commits
mailing list