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

Diff of /eclass/gnuconfig.eclass

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

Revision 1.24 Revision 1.25
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.24 2004/08/07 04:24:41 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.25 2004/08/07 04:26:23 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
27# config.sub and config.guess (old default behavior), otherwise update the 27# config.sub and config.guess (old default behavior), otherwise update the
28# named files. 28# named files.
29gnuconfig_update() { 29gnuconfig_update() {
30 local startdir # declared here ... used in gnuconfig_do_update 30 local startdir # declared here ... used in gnuconfig_do_update
31 31
32 local x
33 for ((x = 1; x <= $#; x = x + 1)); do
34 echo "gnuconfig_update arg$x = [${!x}]"
35 done
36
37 if [[ $1 == */* ]]; then 32 if [[ $1 == /* ]]; then
38 startdir=$1 33 startdir=$1
39 shift 34 shift
40 else 35 else
41 startdir=${S} 36 startdir=${S}
42 fi 37 fi

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20