diff options
author | Norbert Preining <preining@logic.at> | 2015-05-04 02:30:21 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2015-05-04 02:30:21 +0000 |
commit | f89dfb615f2d5b039f3071822b3849ab92e8aa87 (patch) | |
tree | b725896b1e2a9aa59f78dfdb8081faa8915e2757 /Master/tlpkg/bin/tl-makeself-from-tlnet | |
parent | cbbf64df762709a3cebb24bee6fc3c1622bf98af (diff) |
add tlpkg-revision script, and use it it tl-makeself-from-tlnet
git-svn-id: svn://tug.org/texlive/trunk@37177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-makeself-from-tlnet')
-rwxr-xr-x | Master/tlpkg/bin/tl-makeself-from-tlnet | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-makeself-from-tlnet b/Master/tlpkg/bin/tl-makeself-from-tlnet index 60239fa7774..c4dc26bbd96 100755 --- a/Master/tlpkg/bin/tl-makeself-from-tlnet +++ b/Master/tlpkg/bin/tl-makeself-from-tlnet @@ -30,8 +30,14 @@ cd $TMP mkdir master cd master +maxrev=0 + # unpack texlive.infra archives for all platforms, except w32. for pkg in texlive.infra; do + pkgrev=`tlpkg-revision $pkg $TLNET` + if [ $pkgrev -gt $maxrev ] ; then + maxrev=$pkgrev + fi for i in $ARCHIVE/$pkg*.tar.xz; do case "$i" in *win32*) ;; @@ -139,7 +145,7 @@ chmod ugo+x runme.sh # were invoked. cd $CWD mydir=`cd \`dirname $0\` && pwd` # Master/tlpkg/bin -rev=`svnversion $mydir | sed s/[^0-9].*//` # just the number, no status +rev=$maxrev makeself $TMP update-tlmgr-r$rev.sh "TeX Live Manager Updater" ./runme.sh rm -rf $TMP |