summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2003-07-02 08:33:17 +0000
committerDonny Davies <woodchip@gentoo.org>2003-07-02 08:33:17 +0000
commit23fcb5c22369b7e41658b1866fda19b0fb94e989 (patch)
treeafbc680f76037e16663f41fed1e9f8352eeaf0e9 /eclass/gnuconfig.eclass
parentinitial import (diff)
downloadhistorical-23fcb5c22369b7e41658b1866fda19b0fb94e989.tar.gz
historical-23fcb5c22369b7e41658b1866fda19b0fb94e989.tar.bz2
historical-23fcb5c22369b7e41658b1866fda19b0fb94e989.zip
the -1 shortcut is deprecated
Diffstat (limited to 'eclass/gnuconfig.eclass')
-rw-r--r--eclass/gnuconfig.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass
index 70154fec2b78..d9ad3292bf69 100644
--- a/eclass/gnuconfig.eclass
+++ b/eclass/gnuconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.9 2003/06/05 22:42:24 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.10 2003/07/02 08:33:17 woodchip Exp $
#
# Author: Will Woods <wwoods@gentoo.org>
#
@@ -65,5 +65,5 @@ gnuconfig_findnewest() {
/usr/share/automake-1.5/config.sub \
/usr/share/automake-1.4/config.sub \
/usr/share/libtool/config.sub"
- grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -1 | sed 's,/config.sub:.*$,,'
+ grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -n 1 | sed 's,/config.sub:.*$,,'
}