summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-10 17:48:09 +0000
committerKarl Berry <karl@freefriends.org>2013-05-10 17:48:09 +0000
commit650b657b19832c68d26e14726af630f1bc52b0f5 (patch)
tree5db611ac5e20b56511c3044a2ca34dbbbed860f6 /Master/tlpkg/bin
parent41a6f0f2902b79df03ced7409cb563a744fa36b1 (diff)
* dev/srclist.txt: check for xdvipdfmx's dvipdfmx.cfg being in sync, too.
* bin/tl-update-bindir: cd as deep as necessary. * install/texlive.png: update for 2013. git-svn-id: svn://tug.org/texlive/trunk@30371 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-bindir7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir
index 98a1e46b86f..d5f016ba129 100755
--- a/Master/tlpkg/bin/tl-update-bindir
+++ b/Master/tlpkg/bin/tl-update-bindir
@@ -205,7 +205,7 @@ for tlname in $tlnames; do
fi
$msg "installing from $bin_loc to $destdir via $tmpdir"
- ls -l "$bin_loc"
+ ls -ld "$bin_loc"
# if we were given a tar file, unpack it.
if test -f "$bin_loc"; then
@@ -229,8 +229,9 @@ for tlname in $tlnames; do
find "$srcdir" -name .svn | xargs rm -rf
# may need to cd into a subdirectory, depending on how the tar was made.
- test "`ls $srcdir`" != bin || srcdir=$srcdir/bin
- test `ls $srcdir | wc -l` != 1 || srcdir=$srcdir/*
+ while test `ls $srcdir | wc -l` = 1; do
+ srcdir=$srcdir/*
+ done
# destdir is what is in the repo now, srcdir has the new binaries.
(cd $destdir && ls) >$tmpdir/now