summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-05 21:56:02 +0000
committerKarl Berry <karl@freefriends.org>2015-05-05 21:56:02 +0000
commit8b702b1eb4a50a356b3d2b8d356eb9589df1b1c4 (patch)
tree768d4d3f7345bcc3d7d9546c5cafb4e611f3038a
parent5e65a8b46a6e81d99b22123fd38e5fddc89ac6c1 (diff)
revert to r35905, since tl-update-tlcritical gets: Cannot find tlpdb in /home/ftp/texlive/tlcritical
git-svn-id: svn://tug.org/texlive/trunk@37211 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/tl-makeself-from-tlnet10
1 files changed, 2 insertions, 8 deletions
diff --git a/Master/tlpkg/bin/tl-makeself-from-tlnet b/Master/tlpkg/bin/tl-makeself-from-tlnet
index c4dc26bbd96..4ac1c0cf65b 100755
--- a/Master/tlpkg/bin/tl-makeself-from-tlnet
+++ b/Master/tlpkg/bin/tl-makeself-from-tlnet
@@ -1,6 +1,6 @@
#!/bin/sh -e
# $Id$
-# Copyright 2008-2014 Norbert Preining
+# Copyright 2008-2015 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
@@ -30,14 +30,8 @@ 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*) ;;
@@ -145,7 +139,7 @@ chmod ugo+x runme.sh
# were invoked.
cd $CWD
mydir=`cd \`dirname $0\` && pwd` # Master/tlpkg/bin
-rev=$maxrev
+rev=`svnversion $mydir | sed s/[^0-9].*//` # just the number, no status
makeself $TMP update-tlmgr-r$rev.sh "TeX Live Manager Updater" ./runme.sh
rm -rf $TMP