summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-01 16:05:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-01 16:05:45 +0000
commit22bb5e837c438326c27b2455e43530ead5f31940 (patch)
tree32cccfa0b2b7b2495038ad3a55653bff55d4f4d5 /eclass
parentFix building with GCC 4.5+ wrt #317991 by Kacper Kowalik. (diff)
downloadgentoo-2-22bb5e837c438326c27b2455e43530ead5f31940.tar.gz
gentoo-2-22bb5e837c438326c27b2455e43530ead5f31940.tar.bz2
gentoo-2-22bb5e837c438326c27b2455e43530ead5f31940.zip
Don't print errors during unpack because the directory does not exist yet.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng.eclass4
1 files changed, 2 insertions, 2 deletions
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