summaryrefslogtreecommitdiff
path: root/Build/source/texk/m4/kpse_inc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/m4/kpse_inc.m4')
-rw-r--r--Build/source/texk/m4/kpse_inc.m49
1 files changed, 1 insertions, 8 deletions
diff --git a/Build/source/texk/m4/kpse_inc.m4 b/Build/source/texk/m4/kpse_inc.m4
index dfa9a1b85bd..bc4ad8078a4 100644
--- a/Build/source/texk/m4/kpse_inc.m4
+++ b/Build/source/texk/m4/kpse_inc.m4
@@ -80,18 +80,11 @@ if test x"$kpse_file_substs" = x; then
without any \`kpse_include' directives])
fi
# Create the sed command line ...
-dnl # Input lines containing "@configure_input@" are output twice,
-dnl # first unmodified and then with our modifications.
-dnl kpse_substs="sed -e '/@configure_input@/p' \
-dnl -e 's,@configure_input@,$1. Generated from `echo $2 |
-dnl sed 's,.*/,,'` by configure.,'"
-dnl
-dnl I hope this is portable
# Input lines containing "@configure_input@" are output twice,
# first with our modifications and then unmodified.
kpse_substs="sed -e '/@configure_input@/ { h; \
s,@configure_input@,$1. Generated from `echo $2 |
- sed 's,.*/,,'` by configure.,; G }'"
+ sed 's,.*/,,'` by configure.,; G; }'"
for kpse_inc in $kpse_file_substs; do
kpse_read=`case $kpse_inc in
[[\\/$]]*) # Absolute