r3466 - in glibc-package/trunk/debian: . debhelper.in
Author: aurel32
Date: 2009-05-09 19:00:15 +0000 (Sat, 09 May 2009)
New Revision: 3466
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/debhelper.in/locales.config
Log:
* debian/debhelper.in/locales.config: don't use "echo -e". Closes:
#527945.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2009-05-09 08:49:26 UTC (rev 3465)
+++ glibc-package/trunk/debian/changelog 2009-05-09 19:00:15 UTC (rev 3466)
@@ -2,8 +2,10 @@
* debian/debhelper.in/nscd.init: fix return code when querying status
and nscd is not running to comply with LSB. Closes: #527883.
+ * debian/debhelper.in/locales.config: don't use "echo -e". Closes:
+ #527945.
- -- Aurelien Jarno <aurel32@debian.org> Sat, 09 May 2009 10:48:09 +0200
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 09 May 2009 20:56:18 +0200
eglibc (2.9-12) unstable; urgency=low
Modified: glibc-package/trunk/debian/debhelper.in/locales.config
===================================================================
--- glibc-package/trunk/debian/debhelper.in/locales.config 2009-05-09 08:49:26 UTC (rev 3465)
+++ glibc-package/trunk/debian/debhelper.in/locales.config 2009-05-09 19:00:15 UTC (rev 3466)
@@ -35,7 +35,7 @@
fi
# List of supported locales (PROVIDED_LOCALES + USER_LOCALES + GEN_LOCALES)
-SUPPORTED_LOCALES="$(echo -e "$PROVIDED_LOCALES\n$USER_LOCALES\n$GEN_LOCALES" | grep -v "^$" | sort -u | tr '\n' ',' | sed -e 's/, */, /g' -e 's/, *$//g')"
+SUPPORTED_LOCALES="$(printf '%s\n' "$PROVIDED_LOCALES" "$USER_LOCALES" "$GEN_LOCALES" | grep -v "^$" | sort -u | tr '\n' ',' | sed -e 's/, */, /g' -e 's/, *$//g')"
db_subst locales/locales_to_be_generated locales "$SUPPORTED_LOCALES"
# Get the list of selected locales from /etc/locale.gen
Reply to: