diff options
-rwxr-xr-x | Master/install-tl | 6 | ||||
-rw-r--r-- | Master/release-texlive.txt | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/Master/install-tl b/Master/install-tl index af309276759..c5e75d8cd91 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -196,7 +196,11 @@ if (win32()) { } if ($opt_version) { - print "TeX Live Cross Platform Installer, Revision $::installerrevision\n"; + print "TeX Live Cross Platform Installer, revision $::installerrevision\n"; + if (-r "release-texlive.txt") { + # more version info if we can get it. + print `sed -n '1p;\$p' release-texlive.txt`; + } exit 0; } diff --git a/Master/release-texlive.txt b/Master/release-texlive.txt index f05f7a5db54..d2109899978 100644 --- a/Master/release-texlive.txt +++ b/Master/release-texlive.txt @@ -1,4 +1,9 @@ TeX Live version: development (see http://tug.org/texlive) -This file is public domain. -(The first line of this file is output by texconfig conf.) +This file is public domain. It is read by install-tl --version and +texconfig conf, and a final line appended with the precise version +number by tl-update-images during a build. + +The following blank line at the end helps avoid confusing output when +used directly from svn, so don't delete it. + |