diff options
author | Benedikt Meurer <benny@xfce.org> | 2005-03-17 10:14:14 +0000 |
---|---|---|
committer | Benedikt Meurer <benny@xfce.org> | 2005-03-17 10:14:14 +0000 |
commit | 853fb25053ae67f37d9cca18d8427057f2381f9b (patch) | |
tree | d187d4d7d792b624f6dcee56f588e22d8fab7c22 | |
parent | cf207e1be0fa106e21bf68061a972b588cde8b66 (diff) | |
download | xfce4-dev-tools-853fb25053ae67f37d9cca18d8427057f2381f9b.tar.gz |
2005-03-17 Benedikt Meurer <benny@xfce.org>
* scripts/xdt-autogen.in: Escape the special characters in the tr sets
twice as they are also expanded by the shell.
(Old svn revision: 2279)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | scripts/xdt-autogen.in | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-03-17 Benedikt Meurer <benny@xfce.org> + + * scripts/xdt-autogen.in: Escape the special characters in the tr sets + twice as they are also expanded by the shell. + 2005-03-08 Benedikt Meurer <benny@xfce.org> * m4macros/xdt-i18n.m4: Fix typo, its Q_() not O_(). diff --git a/scripts/xdt-autogen.in b/scripts/xdt-autogen.in index e50baa3..5ef13aa 100644 --- a/scripts/xdt-autogen.in +++ b/scripts/xdt-autogen.in @@ -36,7 +36,7 @@ EOF CONFIGURE_FILES="$CONFIGURE_FILES $configure_file"; fi - subdirs=`cat ${configure_file} | tr '\n\t\\' ' ' | sed -ne 's|.*AC_CONFIG_SUBDIRS(\[\{0,1\}\([[:alnum:]_ @/-]\{1,\}\).*|\1|p'` + subdirs=`cat ${configure_file} | tr '\\n\\t\\\\' ' ' | sed -ne 's|.*AC_CONFIG_SUBDIRS(\[\{0,1\}\([[:alnum:]_ @/-]\{1,\}\).*|\1|p'` for subdir in $subdirs; do lookup_configure_files "$1/$subdir"; done @@ -101,7 +101,7 @@ if test x"$1" = x"clean"; then rm -f intltool-* gtk-doc.make) # determine the output files used in this package directory - output_files=`tr '\n\\\t' ' ' < ${configure_file} | sed -ne 's|.*AC_OUTPUT(\[\{0,1\}\([[:alnum:]_@/\. -]\{1,\}\).*|\1|p'`; + output_files=`tr '\\n\\t\\\\' ' ' < ${configure_file} | sed -ne 's|.*AC_OUTPUT(\[\{0,1\}\([[:alnum:]_@/\. -]\{1,\}\).*|\1|p'`; for output_file in $output_files; do if test x`basename $output_file` = x"Makefile"; then rm -f "${directory}/${output_file}.in"; @@ -111,7 +111,7 @@ if test x"$1" = x"clean"; then done # determine translations used in this package directory - translations=`tr '\n\\' ' ' < ${configure_file} | sed -ne 's/.*XDT_I18N(\[\{0,1\}\([a-zA-Z_@ ]\{1,\}\).*/\1/p'`; + translations=`tr '\\n\\\\' ' ' < ${configure_file} | sed -ne 's/.*XDT_I18N(\[\{0,1\}\([a-zA-Z_@ ]\{1,\}\).*/\1/p'`; for translation in $translations; do rm -f "${directory}/po/${translation}.gmo"; done |