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

Diff of /eclass/gnuconfig.eclass

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

Revision 1.21 Revision 1.22
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.21 2004/07/07 16:14:02 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.22 2004/07/09 19:22:40 agriffis 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
57 eerror "Can't read ${configsubs_dir}/${file}, skipping.." 57 eerror "Can't read ${configsubs_dir}/${file}, skipping.."
58 continue 58 continue
59 fi 59 fi
60 targetlist=`find "${startdir}" -name "${file}"` 60 targetlist=`find "${startdir}" -name "${file}"`
61 if [ -n "$targetlist" ] ; then 61 if [ -n "$targetlist" ] ; then
62 for target in "$targetlist"; do 62 for target in $targetlist; do
63 einfo " Updating ${target/$startdir\//}" 63 einfo " Updating ${target/$startdir\//}"
64 cp -f ${configsubs_dir}/${file} "${target}" 64 cp -f ${configsubs_dir}/${file} "${target}"
65 eend $? 65 eend $?
66 done 66 done
67 else 67 else

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20