diff options
author | 2012-04-29 23:25:05 +0000 | |
---|---|---|
committer | 2012-04-29 23:25:05 +0000 | |
commit | 71270770a4bab620252f78599c1e9cc8453ba5e4 (patch) | |
tree | 14844669212292035cf0d1b214d75af841cab245 /eclass/sgml-catalog.eclass | |
parent | whitespace (diff) | |
download | historical-71270770a4bab620252f78599c1e9cc8453ba5e4.tar.gz historical-71270770a4bab620252f78599c1e9cc8453ba5e4.tar.bz2 historical-71270770a4bab620252f78599c1e9cc8453ba5e4.zip |
Fix infinite look if the catalog is corrupted.
Diffstat (limited to 'eclass/sgml-catalog.eclass')
-rw-r--r-- | eclass/sgml-catalog.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/sgml-catalog.eclass b/eclass/sgml-catalog.eclass index b717b91de7fc..cc5de0db1d8c 100644 --- a/eclass/sgml-catalog.eclass +++ b/eclass/sgml-catalog.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/sgml-catalog.eclass,v 1.19 2012/03/23 07:30:54 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/sgml-catalog.eclass,v 1.20 2012/04/29 23:25:05 flameeyes Exp $ # @ECLASS: sgml-catalog.eclass # @MAINTAINER: @@ -57,6 +57,7 @@ sgml-catalog_pkg_postinst() { while (( $# )); do if [[ ! -e "${EPREFIX}$2" ]]; then ewarn "${EPREFIX}$2 doesn't appear to exist, although it ought to!" + shift 2 continue fi einfo "Now adding ${EPREFIX}$2 to ${EPREFIX}$1 and ${EPREFIX}/etc/sgml/catalog" |