summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-22 12:45:03 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-22 12:45:03 +0000
commit1fa9005074f69507aa53d0e946f476b9f9e43ad9 (patch)
treee4b42cdd2bd10ab130196327e35a88d1084bfb17 /eclass/ruby-ng.eclass
parentUse a slightly different syntax for expliciting implementation-dependent depe... (diff)
downloadgentoo-2-1fa9005074f69507aa53d0e946f476b9f9e43ad9.tar.gz
gentoo-2-1fa9005074f69507aa53d0e946f476b9f9e43ad9.tar.bz2
gentoo-2-1fa9005074f69507aa53d0e946f476b9f9e43ad9.zip
Avoid globbing while parsing the dependency string.
Diffstat (limited to 'eclass/ruby-ng.eclass')
-rw-r--r--eclass/ruby-ng.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 7c5de961ce74..1af963e8ec0d 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.17 2010/05/22 12:31:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.18 2010/05/22 12:45:03 flameeyes Exp $
#
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -113,6 +113,7 @@ ruby_samelib() {
}
_ruby_atoms_samelib_generic() {
+ eshopts_push -o noglob
echo "RUBYTARGET? ("
for token in $*; do
case "$token" in
@@ -125,6 +126,7 @@ _ruby_atoms_samelib_generic() {
esac
done
echo ")"
+ eshopts_pop
}
_ruby_atoms_samelib() {