* autoheader.sh: Don't pass a string to 'echo' that might

possibly contain backslashes.
This commit is contained in:
Akim Demaille 2001-01-30 10:42:36 +00:00
parent 60e1770a52
commit 4d2b6bfb9a
4 changed files with 20 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2001-01-30 Paul Eggert <eggert@twinsun.com>
* autoheader.sh: Don't pass a string to 'echo' that might
possibly contain backslashes.
2001-01-29 Pavel Roskin <proski@gnu.org>
Don't use filenames that can be reduced to "conftest" on DOS.

View File

@ -310,8 +310,11 @@ test -r $localdir/acconfig.h &&
# Dump the templates from `configure.ac'.
for verb in `(set) 2>&1 | sed -n -e '/^ac_verbatim/s/^\([^=]*\)=.*$/\1/p' | sort`; do
echo >>$tmp/config.hin
eval echo '"${'$verb'}"' >>$tmp/config.hin
eval value=\$$verb
cat >>$tmp/config.hin <<EOF
$value
EOF
done
# Handle the case where @BOTTOM@ is the first line of acconfig.h.

View File

@ -310,8 +310,11 @@ test -r $localdir/acconfig.h &&
# Dump the templates from `configure.ac'.
for verb in `(set) 2>&1 | sed -n -e '/^ac_verbatim/s/^\([^=]*\)=.*$/\1/p' | sort`; do
echo >>$tmp/config.hin
eval echo '"${'$verb'}"' >>$tmp/config.hin
eval value=\$$verb
cat >>$tmp/config.hin <<EOF
$value
EOF
done
# Handle the case where @BOTTOM@ is the first line of acconfig.h.

View File

@ -310,8 +310,11 @@ test -r $localdir/acconfig.h &&
# Dump the templates from `configure.ac'.
for verb in `(set) 2>&1 | sed -n -e '/^ac_verbatim/s/^\([^=]*\)=.*$/\1/p' | sort`; do
echo >>$tmp/config.hin
eval echo '"${'$verb'}"' >>$tmp/config.hin
eval value=\$$verb
cat >>$tmp/config.hin <<EOF
$value
EOF
done
# Handle the case where @BOTTOM@ is the first line of acconfig.h.