[gok] Revert "LANGDIRS relies on non-portable behavior of 'echo -n' - #bgo613580"



commit 3efee437f1fa224ed08f891a9c5b8d1f7e6d54f4
Author: Gerd Kohlberger <gerdk src gnome org>
Date:   Mon Mar 22 21:17:38 2010 +0100

    Revert "LANGDIRS relies on non-portable behavior of 'echo -n' - #bgo613580"
    
    This reverts commit ed9481f3d52b099afe7dbb5b51d4ff9424bfb3ac.
    We're currently in hard code freeze for GNOME 2.30.

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 0c24199..8e670a9 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="`$AWK '/^[^#]/ {printf "%s/ ",$0}' po/LINGUAS`"
+LANGDIRS="`$GREP -v "^\#" po/LINGUAS | while read line; do echo -n "$line/ "; done `"
 AC_SUBST(LANGDIRS)
 
 AC_SUBST(CFLAGS)



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