summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-04-15 06:51:08 +0000
committerJonathan Callen <abcd@gentoo.org>2010-04-15 06:51:08 +0000
commit7920909696b693e7f24948e037a746f2bd318b3a (patch)
tree64ed7e10cebda9269b4a90eaf8735bc9bd9aa04d /eclass
parentVersion bump (diff)
downloadgentoo-2-7920909696b693e7f24948e037a746f2bd318b3a.tar.gz
gentoo-2-7920909696b693e7f24948e037a746f2bd318b3a.tar.bz2
gentoo-2-7920909696b693e7f24948e037a746f2bd318b3a.zip
Fix eqmake4 when passed args with spaces
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt4-r2.eclass8
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