diff options
author | Norbert Preining <preining@logic.at> | 2008-10-11 23:10:17 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-10-11 23:10:17 +0000 |
commit | c8520ef94926102dc2bac92de14d7e9a035f3fbd (patch) | |
tree | e3983fb7422e803ca05f93bd662fb8b4ea54d0c0 /Master | |
parent | fc5f1dee97bbde0eba4ba7e1474a74d04d131b23 (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')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 6 |
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; |