summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-04 17:03:42 +0000
committerKarl Berry <karl@freefriends.org>2008-07-04 17:03:42 +0000
commit4a538ec380cd2f24d4e13675ce50ff193001436b (patch)
tree5dc36650f35f4c5f04f83e5058a1cc34268c2a28
parent0e31c4fdf02057bc2e69a429d8f3a6cc10ceea3a (diff)
more info in --version output
git-svn-id: svn://tug.org/texlive/trunk@9245 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/install-tl6
-rw-r--r--Master/release-texlive.txt9
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.
+