| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.12 2010/04/30 17:40:10 flameeyes Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.13 2010/05/01 16:05:45 flameeyes Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: ruby-ng.eclass |
5 | # @ECLASS: ruby-ng.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Ruby herd <ruby@gentoo.org> |
7 | # Ruby herd <ruby@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 221 | # Special case, for the always-lovely GitHub fetches. With this, |
221 | # Special case, for the always-lovely GitHub fetches. With this, |
| 222 | # we allow the star glob to just expand to whatever directory it's |
222 | # we allow the star glob to just expand to whatever directory it's |
| 223 | # called. |
223 | # called. |
| 224 | if [[ ${sub_S} = *"*" ]]; then |
224 | if [[ ${sub_S} = *"*" ]]; then |
| 225 | pushd "${WORKDIR}"/all &>/dev/null |
225 | pushd "${WORKDIR}"/all &>/dev/null |
| 226 | sub_S=$(eval ls -d ${sub_S}) |
226 | sub_S=$(eval ls -d ${sub_S} 2>/dev/null) |
| 227 | popd &>/dev/null |
227 | popd &>/dev/null |
| 228 | fi |
228 | fi |
| 229 | |
229 | |
| 230 | environment=$1; shift |
230 | environment=$1; shift |
| 231 | |
231 | |