diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-09-10 13:03:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-09-10 13:03:39 +0000 |
commit | 4c7628fde7160a87940f281a12ed09ee43bd50fa (patch) | |
tree | d2fcc2da6d656bd12b77594c3afb279df35d8698 /eclass/ruby-ng.eclass | |
parent | Stable on alpha, bug #304149 (diff) | |
download | gentoo-2-4c7628fde7160a87940f281a12ed09ee43bd50fa.tar.gz gentoo-2-4c7628fde7160a87940f281a12ed09ee43bd50fa.tar.bz2 gentoo-2-4c7628fde7160a87940f281a12ed09ee43bd50fa.zip |
Allow the star to be at any place of the sub_S directory.
While it only makes sense for GitHub tarballs, with Rails the star is
_not_ the last character in the string because we have to enter a
sub-directory.
Diffstat (limited to 'eclass/ruby-ng.eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 459fb5ce48fc..08fc12f5bc58 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.27 2010/08/30 22:08:24 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.28 2010/09/10 13:03:39 flameeyes Exp $ # # @ECLASS: ruby-ng.eclass # @MAINTAINER: @@ -250,7 +250,7 @@ _ruby_invoke_environment() { # Special case, for the always-lovely GitHub fetches. With this, # we allow the star glob to just expand to whatever directory it's # called. - if [[ ${sub_S} = *"*" ]]; then + if [[ ${sub_S} = *"*"* ]]; then pushd "${WORKDIR}"/all &>/dev/null sub_S=$(eval ls -d ${sub_S} 2>/dev/null) popd &>/dev/null |