Quote arguments passed to eqmake or it will fail when passing
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 26 Feb 2008 01:11:13 +0000 (01:11 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 26 Feb 2008 01:11:13 +0000 (01:11 +0000)
variables with whitespace on them.

eclass/qt4.eclass

index a4c68eeca19ae3559fea7831ade80ec8c5890ad1..be14c564dfcebdbbce045fe388a7b0676e88d053 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v 1.35 2008/02/25 17:07:33 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v 1.36 2008/02/26 01:11:13 flameeyes Exp $
 
 # @ECLASS: qt4.eclass
 # @MAINTAINER:
@@ -201,7 +201,7 @@ eqmake4() {
                QMAKE_LFLAGS_RELEASE="${LDFLAGS}" \
                QMAKE_LFLAGS_DEBUG="${LDFLAGS}" \
                QMAKE_RPATH= \
-               ${@} >> ${LOGFILE} 2>&1
+               "${@}" >> ${LOGFILE} 2>&1
 
        local result=$?
        eend ${result}