diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-02-07 08:23:28 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-02-07 08:23:28 +0000 |
commit | 0a189bdfc2d125fb1ff94e9e50f8b4a932bfc9fb (patch) | |
tree | 8ff33ca7f8f5341569c4dddf2a2e4248cb7b0d15 /Build/source/texk/m4 | |
parent | db610e01cf7c9090b186ef4fcdd2c4276146591d (diff) |
stricter sed syntax
git-svn-id: svn://tug.org/texlive/trunk@6516 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/m4')
-rw-r--r-- | Build/source/texk/m4/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/m4/kpse_inc.m4 | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/Build/source/texk/m4/ChangeLog b/Build/source/texk/m4/ChangeLog index d5e2a58e8e6..688253e9d86 100644 --- a/Build/source/texk/m4/ChangeLog +++ b/Build/source/texk/m4/ChangeLog @@ -1,3 +1,7 @@ +2008-02-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * kpse_inc.m4: Stricter sed syntax. + 2008-02-02 Peter Breitenlohner <peb@mppmu.mpg.de> * kpse_subdirs.m4 (new): Define KPSE_CONFIG_SUBDIRS, used in 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 |