diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-09 00:31:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-09 00:31:04 +0000 |
commit | b6945e2593afd545b346cd3289d871564f981131 (patch) | |
tree | e39b7a58c74c3f3420198374a33302d2fa293482 /Build/source | |
parent | af776e075b6577fb69fc6de4a8f98574850429c5 (diff) |
force destination for pdfcsplain symlink to be pdftex, per olsak
git-svn-id: svn://tug.org/texlive/trunk@33924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/texlive/tl_scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/texlive/tl_scripts/texlinks.sh | 18 |
2 files changed, 16 insertions, 7 deletions
diff --git a/Build/source/texk/texlive/tl_scripts/ChangeLog b/Build/source/texk/texlive/tl_scripts/ChangeLog index c566c92ae88..b923dcfcd64 100644 --- a/Build/source/texk/texlive/tl_scripts/ChangeLog +++ b/Build/source/texk/texlive/tl_scripts/ChangeLog @@ -1,3 +1,8 @@ +2014-05-09 Karl Berry <karl@tug.org> + + * texlinks.sh (install_link): force destination for + pdfcsplain to be pdftex. + 2014-04-21 Norbert Preining <preining@logic.at> * fmtutil.sh: new option --no-error-if-no-engine, diff --git a/Build/source/texk/texlive/tl_scripts/texlinks.sh b/Build/source/texk/texlive/tl_scripts/texlinks.sh index c6fd2880aae..0f1cfadcde0 100755 --- a/Build/source/texk/texlive/tl_scripts/texlinks.sh +++ b/Build/source/texk/texlive/tl_scripts/texlinks.sh @@ -167,14 +167,18 @@ install_link() rm -f "$src" if test -f "$src"; then - case $silent in - true) - ;; - *) - errmsg "install_link $src -> $dest failed: file already exists." - ;; - esac + if $silent; then :; else + # i.e., the rm failed. + errmsg "install_link $src -> $dest failed: file already exists." + fi else + if echo "$src" | grep '/pdfcsplain$' >/dev/null; then + # at p.olsak insistence: we have three pdfcsplain entries in + # fmtutil.cnf with different engines, but the executable link + # must point to pdftex. + verbose_echo "forcing pdfcsplain destination to be pdftex" + dest=pdftex + fi verbose_do ln -s "$dest" "$src" fi ;; |