summaryrefslogtreecommitdiff
path: root/scripts/xdt-autogen.in
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2005-03-17 10:14:14 +0000
committerBenedikt Meurer <benny@xfce.org>2005-03-17 10:14:14 +0000
commit853fb25053ae67f37d9cca18d8427057f2381f9b (patch)
treed187d4d7d792b624f6dcee56f588e22d8fab7c22 /scripts/xdt-autogen.in
parentcf207e1be0fa106e21bf68061a972b588cde8b66 (diff)
downloadxfce4-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)
Diffstat (limited to 'scripts/xdt-autogen.in')
-rw-r--r--scripts/xdt-autogen.in6
1 files changed, 3 insertions, 3 deletions
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