public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jonathan Callen (abcd)" <abcd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
Date: Thu, 15 Apr 2010 06:51:08 +0000 (UTC)	[thread overview]
Message-ID: <20100415065109.0B4392C04E@corvid.gentoo.org> (raw)

abcd        10/04/15 06:51:08

  Modified:             qt4-r2.eclass
  Log:
  Fix eqmake4 when passed args with spaces

Revision  Changes    Path
1.6                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?r1=1.5&r2=1.6

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- qt4-r2.eclass	18 Mar 2010 11:43:55 -0000	1.5
+++ qt4-r2.eclass	15 Apr 2010 06:51:08 -0000	1.6
@@ -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 @@
 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 @@
 			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 @@
 		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






             reply	other threads:[~2010-04-15  6:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  6:51 Jonathan Callen (abcd) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-01 23:48 [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass Davide Pesavento (pesa)
2013-06-03  8:41 Davide Pesavento (pesa)
2013-06-03  6:35 Davide Pesavento (pesa)
2011-12-28 10:57 Davide Pesavento (pesa)
2011-12-26 11:47 Davide Pesavento (pesa)
2011-03-19 16:34 Tomas Chvatal (scarabeus)
2010-12-30 23:46 Theo Chatzimichos (tampakrap)
2010-07-31 14:40 Markos Chandras (hwoarang)
2010-03-18 11:43 Markos Chandras (hwoarang)
2010-02-19 20:54 Dominik Kapusta (ayoy)
2010-01-21 19:11 Dror Levin (spatz)
2010-01-14 21:25 Jonathan Callen (abcd)
2009-12-15 16:32 Dominik Kapusta (ayoy)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100415065109.0B4392C04E@corvid.gentoo.org \
    --to=abcd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox