/[gentoo-x86]/eclass/gnuconfig.eclass
Gentoo

Diff of /eclass/gnuconfig.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.29 Revision 1.30
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.29 2005/07/06 20:23:20 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.30 2005/08/05 02:39:58 vapier Exp $
4# 4#
5# Author: Will Woods <wwoods@gentoo.org> 5# Author: Will Woods <wwoods@gentoo.org>
6# 6#
7# This eclass is used to automatically update files that typically come with 7# This eclass is used to automatically update files that typically come with
8# automake to the newest version available on the system. The most common use 8# automake to the newest version available on the system. The most common use
63 continue 63 continue
64 fi 64 fi
65 targetlist=$(find "${startdir}" -name "${file}") 65 targetlist=$(find "${startdir}" -name "${file}")
66 if [[ -n ${targetlist} ]] ; then 66 if [[ -n ${targetlist} ]] ; then
67 for target in ${targetlist} ; do 67 for target in ${targetlist} ; do
68 [[ -L ${target} ]] && rm -f "${target}"
68 einfo " Updating ${target/$startdir\//}" 69 einfo " Updating ${target/$startdir\//}"
69 cp -f "${configsubs_dir}/${file}" "${target}" 70 cp -f "${configsubs_dir}/${file}" "${target}"
70 eend $? 71 eend $?
71 done 72 done
72 else 73 else

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20