diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-11-27 00:48:01 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-11-27 00:48:01 +0000 |
commit | f15024eca632c931f0eddabf19afeda946047d7b (patch) | |
tree | 2e2f2f1f1ffd7a53fca2beb9717b0a30cb1e5b91 /eclass | |
parent | stable arm ppc ppc64, bug #444792 (diff) | |
download | gentoo-2-f15024eca632c931f0eddabf19afeda946047d7b.tar.gz gentoo-2-f15024eca632c931f0eddabf19afeda946047d7b.tar.bz2 gentoo-2-f15024eca632c931f0eddabf19afeda946047d7b.zip |
Handle DOCS when it is an exported array, i.e. "declare -ax" (bug #444740, thanks to Arfrever).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/gnome2.eclass | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index bfc635afbdf4..535ca4b8cd51 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.523 2012/11/26 15:47:20 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.524 2012/11/27 00:48:01 tetromino Exp $ + + 27 Nov 2012; Alexandre Rostovtsev <tetromino@gentoo.org> gnome2.eclass: + Handle DOCS when it is an exported array, i.e. "declare -ax" (bug #444740, + thanks to Arfrever). 26 Nov 2012; Alexandre Rostovtsev <tetromino@gentoo.org> gnome2.eclass: Typo, probably caused by strange font in pms.pdf (bug #444740, thanks to diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index aa367b71f71e..3119f3c8f88b 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.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/gnome2.eclass,v 1.113 2012/11/26 15:47:20 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.114 2012/11/27 00:48:01 tetromino Exp $ # @ECLASS: gnome2.eclass # @MAINTAINER: @@ -200,7 +200,7 @@ gnome2_src_install() { FAQ CREDITS CHANGELOG ; do [[ -s "${d}" ]] && dodoc "${d}" done - elif declare -p DOCS | grep -q '^declare -a ' ; then + elif declare -p DOCS | grep -q '^declare -a' ; then dodoc "${DOCS[@]}" else dodoc ${DOCS} |