From 605a2e2126ccbe8659586b48dc22cac78cf93463 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 5 Aug 2005 02:39:58 +0000 Subject: make sure we punt symlinks first #101206 --- eclass/gnuconfig.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass/gnuconfig.eclass') diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass index fe33953ca550..42d38a7c9857 100644 --- a/eclass/gnuconfig.eclass +++ b/eclass/gnuconfig.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.29 2005/07/06 20:23:20 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.30 2005/08/05 02:39:58 vapier Exp $ # # Author: Will Woods # @@ -65,6 +65,7 @@ gnuconfig_do_update() { targetlist=$(find "${startdir}" -name "${file}") if [[ -n ${targetlist} ]] ; then for target in ${targetlist} ; do + [[ -L ${target} ]] && rm -f "${target}" einfo " Updating ${target/$startdir\//}" cp -f "${configsubs_dir}/${file}" "${target}" eend $? -- cgit v1.2.3-65-gdbad