diff options
author | 2010-04-15 06:51:08 +0000 | |
---|---|---|
committer | 2010-04-15 06:51:08 +0000 | |
commit | ae0d9c4dde7fb73fa06514b05c2fe086ee920e4f (patch) | |
tree | c930c473f472f5465b547d5a03cade96b9590961 /eclass | |
parent | Version bump (diff) | |
download | historical-ae0d9c4dde7fb73fa06514b05c2fe086ee920e4f.tar.gz historical-ae0d9c4dde7fb73fa06514b05c2fe086ee920e4f.tar.bz2 historical-ae0d9c4dde7fb73fa06514b05c2fe086ee920e4f.zip |
Fix eqmake4 when passed args with spaces
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt4-r2.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass index ee62742c1c23..4771dbb4d47c 100644 --- a/eclass/qt4-r2.eclass +++ b/eclass/qt4-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.5 2010/03/18 11:43:55 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.6 2010/04/15 06:51:08 abcd Exp $ # @ECLASS: qt4-r2.eclass # @MAINTAINER: @@ -180,7 +180,7 @@ _find_project_file() { eqmake4() { ebegin "Running qmake" - local qmake_args="$@" + local qmake_args=("$@") # check if project file was passed as a first argument # if not, then search for it @@ -194,7 +194,7 @@ eqmake4() { echo die "eqmake4 failed" fi - qmake_args="${qmake_args} ${project_file}" + qmake_args+=("${project_file}") fi # make sure CONFIG variable is correctly set for both release and debug builds @@ -260,7 +260,7 @@ eqmake4() { QMAKE_LIBDIR_X11="${EPREFIX}"/usr/$(get_libdir) \ QMAKE_LIBDIR_OPENGL="${EPREFIX}"/usr/$(get_libdir) \ QMAKE_STRIP= \ - ${qmake_args} + "${qmake_args[@]}" # was qmake successful? if ! eend $? ; then |