From f6a86a4eb447da0d193a1e65b5cea7ef7628e80e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 24 Jun 2009 17:08:05 +0000 Subject: universal-darwin update from koch, 22jun09 git-svn-id: svn://tug.org/texlive/trunk@13947 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-bindir | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-bindir') diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir index c242f68fc2e..85b9d1b7770 100755 --- a/Master/tlpkg/bin/tl-update-bindir +++ b/Master/tlpkg/bin/tl-update-bindir @@ -162,12 +162,8 @@ for tlname in $tlnames; do fi # may need to cd into a subdirectory, depending on how the tar was made. - if test `ls $srcdir` = bin; then - srcdir=$srcdir/bin - fi - if test `ls $srcdir | wc -l` = 1; then - srcdir=$srcdir/* - fi + test "`ls $srcdir`" != bin || srcdir=$srcdir/bin + test `ls $srcdir | wc -l` != 1 || srcdir=$srcdir/* # state of things. srcdir is full of the new binaries. (cd $destdir && ls) >$tmpdir/now -- cgit v1.2.3