diff options
Diffstat (limited to 'Build')
-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 |