[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1013 - glibc-package/trunk/debian/local/usr_sbin



Author: gotom
Date: 2005-08-22 09:54:18 +0000 (Mon, 22 Aug 2005)
New Revision: 1013

Modified:
   glibc-package/trunk/debian/local/usr_sbin/locale-gen
Log:
Replace poor scripting.


Modified: glibc-package/trunk/debian/local/usr_sbin/locale-gen
===================================================================
--- glibc-package/trunk/debian/local/usr_sbin/locale-gen	2005-08-22 09:50:51 UTC (rev 1012)
+++ glibc-package/trunk/debian/local/usr_sbin/locale-gen	2005-08-22 09:54:18 UTC (rev 1013)
@@ -36,9 +36,7 @@
 	echo -n '...'; \
         if [ -f $LOCALES/$locale ]; then input=$locale; else \
         input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; fi; \
-	set +e; \
-	localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale; \
-	set -e; \
+	localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale || :; \
 	echo ' done'; \
 done < $LOCALEGEN
 echo "Generation complete."



Reply to: