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 | 9f95b177e697ac74dbb151d04b0cf0f65e8f81a6 (patch) | |
tree | a68c79c300dd8707fcaac6a6cbd770466a86f28b /eclass/tetex.eclass | |
parent | version bump (diff) | |
download | gentoo-2-9f95b177e697ac74dbb151d04b0cf0f65e8f81a6.tar.gz gentoo-2-9f95b177e697ac74dbb151d04b0cf0f65e8f81a6.tar.bz2 gentoo-2-9f95b177e697ac74dbb151d04b0cf0f65e8f81a6.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 |