summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-08-24 00:10:08 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-08-24 00:10:08 +0000
commit344a36c51e9cbc5b634c2d7553b00ec3b4bfe1bf (patch)
tree3fbebeea0d53742afc2c0a92468c9387f511ffb8 /eclass
parentNew grub ebuild, server- and uclibc-friendly, with added bugfix goodness (Man... (diff)
downloadgentoo-2-344a36c51e9cbc5b634c2d7553b00ec3b4bfe1bf.tar.gz
gentoo-2-344a36c51e9cbc5b634c2d7553b00ec3b4bfe1bf.tar.bz2
gentoo-2-344a36c51e9cbc5b634c2d7553b00ec3b4bfe1bf.zip
Add note explaining where gnuconfig_update should be called from.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnuconfig.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass
index bb733ed59145..c09a5a22fb79 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.25 2004/08/07 04:26:23 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.26 2004/08/24 00:10:08 mr_bones_ Exp $
#
# Author: Will Woods <wwoods@gentoo.org>
#
@@ -15,6 +15,8 @@
# All files in the source tree ($S) with the given name(s) will be replaced
# with the newest available versions chosen from the list of locations in
# gnuconfig_findnewest(), below.
+#
+# gnuconfig_update should generally be called from src_unpack()
ECLASS=gnuconfig
INHERITED="$INHERITED $ECLASS"
@@ -89,6 +91,6 @@ gnuconfig_findnewest() {
local lt_location="/usr/share/libtool/config.sub"
[ -f "${lt_location}" ] && locations="${locations} ${lt_location}"
-
+
grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -n 1 | sed 's,/config.sub:.*$,,'
}