summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-10-11 23:10:17 +0000
committerNorbert Preining <preining@logic.at>2008-10-11 23:10:17 +0000
commitc8520ef94926102dc2bac92de14d7e9a035f3fbd (patch)
treee3983fb7422e803ca05f93bd662fb8b4ea54d0c0 /Master/texmf/scripts
parentfc5f1dee97bbde0eba4ba7e1474a74d04d131b23 (diff)
add time stamp to tlmgr version
git-svn-id: svn://tug.org/texlive/trunk@10932 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index e730b430a0d..e7908de7d09 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -37,13 +37,17 @@
#
my $svnrev = '$Revision$';
-my $date = '$Date$';
+my $datrev = '$Date$';
my $tlmgrrevision;
if ($svnrev =~ m/: ([0-9]+) /) {
$tlmgrrevision = $1;
} else {
$tlmgrrevision = "unknown";
}
+$datrev =~ s/^.*Date: //;
+$datrev =~ s/ \(.*$//;
+$tlmgrrevision .= " ($datrev)";
+
my $Master;