[Swfdec-commits] swfdec/Makefile.am

Benjamin Otte company at kemper.freedesktop.org
Wed Feb 20 03:03:44 PST 2008


 swfdec/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 056fd6eef0f43221153f113bab8bf725c30c0d58
Author: Benjamin Otte <otte at gnome.org>
Date:   Wed Feb 20 12:03:29 2008 +0100

    set LC_ALL="C" to not confuse awk

diff --git a/swfdec/Makefile.am b/swfdec/Makefile.am
index dccac20..217b5c0 100644
--- a/swfdec/Makefile.am
+++ b/swfdec/Makefile.am
@@ -367,7 +367,7 @@ swfdec_as_strings.h: swfdec_as_strings.c
 	  && echo "extern const char swfdec_as_strings[];" \
 	  && grep "  SWFDEC_AS_CONSTANT_STRING" swfdec_as_strings.c \
 	  | sed "s/.*(\"\(.*\)\").*/\1/" \
-	  | $(AWK) '{ if ($$0 == "") name = "EMPTY"; else if ($$0 == ",") name = "COMMA"; else if ($$0 == "/") name = "SLASH"; else name = $$0; gsub("[^a-zA-Z0-9\\$$]","_",name); print "#define SWFDEC_AS_STR_" name " &swfdec_as_strings[" x + 1 "]"; x = x + length ($$0) + 2 }' \
+	  | LC_ALL="C" $(AWK) '{ if ($$0 == "") name = "EMPTY"; else if ($$0 == ",") name = "COMMA"; else if ($$0 == "/") name = "SLASH"; else name = $$0; gsub("[^a-zA-Z0-9\\$$]","_",name); print "#define SWFDEC_AS_STR_" name " &swfdec_as_strings[" x + 1 "]"; x = x + length ($$0) + 2 }' \
 	  && echo "#endif" ) > xgen-sas \
 	&& (cmp -s xgen-sas swfdec_as_strings.h || cp xgen-sas swfdec_as_strings.h ) \
 	&& rm -f xgen-sas


More information about the Swfdec-commits mailing list