diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-01 22:13:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-01 22:13:02 +0000 |
commit | 48205ed809836cbdcb384d2b40e5027cb6924749 (patch) | |
tree | 6bc2ee324d359e9fb635fdb6432cc2403078ce57 /eclass/enlightenment.eclass | |
parent | USE=bzlib -> USE=bzip2 (diff) | |
download | gentoo-2-48205ed809836cbdcb384d2b40e5027cb6924749.tar.gz gentoo-2-48205ed809836cbdcb384d2b40e5027cb6924749.tar.bz2 gentoo-2-48205ed809836cbdcb384d2b40e5027cb6924749.zip |
make sure we dont get a sandbox violation with symlinks
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r-- | eclass/enlightenment.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index 82523c56d297..224ef405d6a9 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.47 2005/05/27 02:20:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.48 2005/06/01 22:13:02 vapier Exp $ # # Author: vapier@gentoo.org @@ -107,6 +107,12 @@ enlightenment_src_compile() { USER=blah \ ./autogen.sh \ || enlightenment_die "autogen failed" + # symlinked files will cause sandbox violation + for x in config.{guess,sub} ; do + [[ ! -L ${x} ]] && continue + rm -f ${x} + touch ${x} + done if [[ ! -z ${EHACKLIBLTDL} ]] ; then cd libltdl autoconf || enlightenment_die "autogen in libltdl failed" |