diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-10-24 04:34:28 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-10-27 04:04:15 +1100 |
commit | 29392d23de5c35fab5c8a59a145fbcccb6a81859 (patch) | |
tree | 76648d903b2e637bf9f82ec4e762ee6bf73c3bef /eclass | |
parent | cmake-utils.eclass: whitespace (diff) | |
download | gentoo-29392d23de5c35fab5c8a59a145fbcccb6a81859.tar.gz gentoo-29392d23de5c35fab5c8a59a145fbcccb6a81859.tar.bz2 gentoo-29392d23de5c35fab5c8a59a145fbcccb6a81859.zip |
cmake-utils.eclass: warn when using mycmakeargs as a string
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 77e866239364..dd6045a95a03 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -547,6 +547,7 @@ enable_cmake-utils_src_configure() { # Make the array a local variable since <=portage-2.1.6.x does not # support global arrays (see bug #297255). if [[ $(declare -p mycmakeargs 2>&-) != "declare -a mycmakeargs="* ]]; then + eqawarn "Declaring mycmakeargs as a variable is deprecated. Please use an array instead." local mycmakeargs_local=(${mycmakeargs}) else local mycmakeargs_local=("${mycmakeargs[@]}") |