diff options
author | Karl Berry <karl@freefriends.org> | 2015-04-19 21:15:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-04-19 21:15:06 +0000 |
commit | 8216547beeaeec0787d9fbdc9dacbde2eff0e60b (patch) | |
tree | 27364161067827d502849dd72e11fa899120eafa | |
parent | 7330c72947bed30fd83b9fbf719d1df113052e20 (diff) |
use $exeext for pdfcsplain special case
git-svn-id: svn://tug.org/texlive/trunk@36938 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/texlive/tl_scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/texlive/tl_scripts/texlinks.sh | 12 |
2 files changed, 8 insertions, 9 deletions
diff --git a/Build/source/texk/texlive/tl_scripts/ChangeLog b/Build/source/texk/texlive/tl_scripts/ChangeLog index 7a7f4951bbe..ed8011f1eb8 100644 --- a/Build/source/texk/texlive/tl_scripts/ChangeLog +++ b/Build/source/texk/texlive/tl_scripts/ChangeLog @@ -1,3 +1,8 @@ +2015-04-19 Karl Berry <karl@tug.org> + + * texlinks.sh (install_link): use $exeext for pdfcsplain too, + for Cygwin. From Ken Brown. + 2015-04-12 Norbert Preining <norbert@preining.info> * Makefile.am: remove fmtutil.sh, it is now handled via diff --git a/Build/source/texk/texlive/tl_scripts/texlinks.sh b/Build/source/texk/texlive/tl_scripts/texlinks.sh index 0f1cfadcde0..71877768720 100755 --- a/Build/source/texk/texlive/tl_scripts/texlinks.sh +++ b/Build/source/texk/texlive/tl_scripts/texlinks.sh @@ -69,10 +69,7 @@ Report bugs to: tex-k@tug.org TeX Live home page: <http://tug.org/texlive/> ' -############################################################################### -# abort(errmsg) -# print `errmsg' to stderr and exit with error code 1 -############################################################################### +# print `errmsg' to stderr and exit with error code 1: abort() { errmsg "texlinks: $1."; cleanup 1; } # error message to stderr: @@ -84,10 +81,7 @@ verbose_echo() { $verbose && errmsg "$@"; } # in verbose mode: show command that is executed: verbose_do() { verbose_echo "$@"; "$@"; } -############################################################################### -# cleanup() -# clean up the temp area and exit with proper exit status -############################################################################### +# clean up the temp area and exit with proper exit status: cleanup() { rc=$1 @@ -177,7 +171,7 @@ install_link() # fmtutil.cnf with different engines, but the executable link # must point to pdftex. verbose_echo "forcing pdfcsplain destination to be pdftex" - dest=pdftex + dest=pdftex$exeext fi verbose_do ln -s "$dest" "$src" fi |