[gok] LANGDIRS relies on non-portable behavior of 'echo -n' - #bgo613580
- From: Gerd Kohlberger <gerdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gok] LANGDIRS relies on non-portable behavior of 'echo -n' - #bgo613580
- Date: Mon, 22 Mar 2010 19:43:56 +0000 (UTC)
commit ed9481f3d52b099afe7dbb5b51d4ff9424bfb3ac
Author: Gerd Kohlberger <gerdk src gnome org>
Date: Mon Mar 22 20:37:28 2010 +0100
LANGDIRS relies on non-portable behavior of 'echo -n' - #bgo613580
Fix provided by Peter O'Gorman <pogma gnu org>.
configure.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 8e670a9..0c24199 100644
--- a/configure.in
+++ b/configure.in
@@ -244,7 +244,7 @@ AC_SUBST(BONOBO_ACTIVATION_IDL_DIR)
AC_SUBST(LIBBONOBO_IDL_DIR)
dnl list of language subdirs (for .gitignore)
-LANGDIRS="`$GREP -v "^\#" po/LINGUAS | while read line; do echo -n "$line/ "; done `"
+LANGDIRS="`$AWK '/^[^#]/ {printf "%s/ ",$0}' po/LINGUAS`"
AC_SUBST(LANGDIRS)
AC_SUBST(CFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]