summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-11-27 00:48:01 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-11-27 00:48:01 +0000
commitf15024eca632c931f0eddabf19afeda946047d7b (patch)
tree2e2f2f1f1ffd7a53fca2beb9717b0a30cb1e5b91 /eclass/gnome2.eclass
parentstable arm ppc ppc64, bug #444792 (diff)
downloadgentoo-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/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass4
1 files changed, 2 insertions, 2 deletions
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}