diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-24 17:08:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-24 17:08:05 +0000 |
commit | f6a86a4eb447da0d193a1e65b5cea7ef7628e80e (patch) | |
tree | 075d1f8e397dce44e233f37b9bedaee60cd305d9 /Master/tlpkg/bin/tl-update-bindir | |
parent | e37d059bb13fa020eb9cfe7073638aac61dc5c74 (diff) |
universal-darwin update from koch, 22jun09
git-svn-id: svn://tug.org/texlive/trunk@13947 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-bindir')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-bindir | 8 |
1 files changed, 2 insertions, 6 deletions
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 |