summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-01-21 18:04:32 +0000
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-01-21 18:04:32 +0000
commita491ffd38258cab175d7540104c46bb9cdc3f6c0 (patch)
tree602b51d0e28358dd9097c40520af119921476471 /Configure
parent9f4e6307232229875331a55e44e1245b0b91e219 (diff)
downloadperl-a491ffd38258cab175d7540104c46bb9cdc3f6c0.tar.gz
Configure: avoid here-doc in eval-ed snippet
Some versions of bash, ksh and dash warn or error, complaining about unterminated here-docs, while some versions complain about syntax errors in unrelated parts of the script. This partially reverts commit 52635202f174c9387aa422c4aa32d12f754d8a33.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/Configure b/Configure
index f6f8254534..acea1c19bb 100755
--- a/Configure
+++ b/Configure
@@ -5788,10 +5788,7 @@ compile='
mc_file=$1;
shift;
case "$usedevel" in $define|true|[yY]*) if $test ! -f "${mc_file}.c"; then
-cat >&4 <<EOM
-Internal Configure script bug - compiler test file ${mc_file}.c is missing.
-Please report this to https://github.com/Perl/perl5/issues
-EOM
+echo "Internal Configure script bug - compiler test file ${mc_file}.c is missing. Please report this to https://github.com/Perl/perl5/issues" >&4;
exit 1;
fi;
esac;