From: Diego Elio Pettenò Date: Sat, 1 May 2010 16:05:45 +0000 (+0000) Subject: Don't print errors during unpack because the directory does not exist yet. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ad7cd5552370609ba2ed1f28fac39e0a3207dde;p=gentoo.git Don't print errors during unpack because the directory does not exist yet. --- diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 12ac03e90058..4e5a3ec4710d 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.12 2010/04/30 17:40:10 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.13 2010/05/01 16:05:45 flameeyes Exp $ # # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -223,7 +223,7 @@ _ruby_invoke_environment() { # called. if [[ ${sub_S} = *"*" ]]; then pushd "${WORKDIR}"/all &>/dev/null - sub_S=$(eval ls -d ${sub_S}) + sub_S=$(eval ls -d ${sub_S} 2>/dev/null) popd &>/dev/null fi