diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-11-12 21:30:11 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-11-12 21:30:11 +0000 |
commit | 9c91df64cfe27e0e2bce873741d4d30810fc59f1 (patch) | |
tree | c431738121634a01cea77bd6692b6b69d451f92e /eclass/tetex.eclass | |
parent | version bump (diff) | |
download | historical-9c91df64cfe27e0e2bce873741d4d30810fc59f1.tar.gz historical-9c91df64cfe27e0e2bce873741d4d30810fc59f1.tar.bz2 historical-9c91df64cfe27e0e2bce873741d4d30810fc59f1.zip |
Fixed loop symlinks with ptex-3.1.3.
Diffstat (limited to 'eclass/tetex.eclass')
-rw-r--r-- | eclass/tetex.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/tetex.eclass b/eclass/tetex.eclass index c44024219c10..2ba538929f9e 100644 --- a/eclass/tetex.eclass +++ b/eclass/tetex.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.1 2003/11/12 18:08:55 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.2 2003/11/12 21:30:11 usata Exp $ # # Author: Jaromir Malenko <malenko@email.cz> # @@ -177,7 +177,7 @@ tetex_src_install() { while read l; do dst=/usr/bin/`echo $l | awk '{ print $1 }'` src=/usr/bin/`echo $l | awk '{ print $2 }'` - if [ ! -f ${D}$dst ] ; then + if [ ! -f ${D}$dst -a "$dst" != "$src" ] ; then einfo "Making symlinks from $src to $dst" dosym $src $dst fi |